node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

warehouse

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