Wondering what’s next for npm?Check out our public roadmap! »

warehouse

2.0.0 • Public • Published

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

$ gulp test

Install

npm i [email protected]

Version

2.0.0

License

MIT

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar