indexedStore

0.1.0 • Public • Published

indexedStore

Small indexedDB wrapper that fixes the API

Example

// jsfiddle: http://jsfiddle.net/Pj7G4/1/ var store = indexeddbStore("user")

store.put({ name: "bob" }, "bob", function (err, result) { store.get("bob", function (err, user) { console.log(user.name === "bob") }) })

Documentation

The same as ObjectStore except the API now takes a callback as an extra parameter rather then returning this request object

Note that the opening of the database is handled for you

Installation

npm install indexedStore or drop the file into your project

Tests

I'll write them one day

Contributors

  • Raynos

MIT Licenced

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i indexedStore

Weekly Downloads

2

Version

0.1.0

License

none

Last publish

Collaborators

  • raynos