Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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

Keywords

none

install

npm i storagedb

Downloadsweekly downloads

2

version

1.0.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability