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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i indexedStore

      Weekly Downloads

      1

      Version

      0.1.0

      License

      none

      Last publish

      Collaborators

      • raynos