JavaScript Shell
Latest commit e46a663 Feb 14, 2016 @tommy351 2.2.0 released

README.md

Warehouse

Build Status NPM version Coverage Status

Installation

$ npm install warehouse

Usage

var Database = require('warehouse');
var db = new Database();

var Post = db.model('posts', {
  title: String,
  created: {type: Date, default: Date.now}
});

Post.insert({
  title: 'Hello world'
}).then(function(post){
  console.log(post);
});

Test

$ npm test