storagedb

1.0.1 • Public • Published

StorageDB

A browser database api similar to pouchdb wrapped around localStorage.

See Docs

Install

npm install storagedb -S

Usage

const StorageDB = require('storagedb')
const db = StorageDB('foo')
db.changes({ include_docs: true, live: true})
  .on('change', chg => console.log(chg.doc))
db.post({type: 'widgets', name: 'bar'})

Testing

npm test

Contributing

pull requests are welcome

LICENSE

MIT

Dependents (0)

Package Sidebar

Install

npm i storagedb

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • twilson63