modella-level

0.1.0 • Public • Published

Modella LevelDB

Creates find, save, remove for Modella using LevelDB

Example

var leveldb = require('level')
var modella_level = require('modella-level')(leveldb)
 
var User = modella('User')
  .use(modella_level)
  .use(validators)
  .attr('id', { required: true })
  .attr('login', { required: true })
 
new User({id: '1', login: 'me'}).save(function(err) {
  if (err) {
    console.log(err)
  }
})

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.3.20next
0.1.00latest

Version History

VersionDownloads (Last 7 Days)Published
0.3.20
0.3.10
0.3.01
0.2.00
0.1.00

Package Sidebar

Install

npm i modella-level

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • ekristen