superstore

Local storage, without the bugs, and an asynchronous API

npm install superstore
5 downloads in the last day
144 downloads in the last week
1 681 downloads in the last month

superstore Build Status

Superstore is a simple lightweight asynchronous wrapper around localStorage. Its features include:

installation

npm install superstore

api

Superstore is an uninstantiable module. Its methods are:

#get(key, callback)

#set(key, value, callback)

#unset(key, callback)

#clear(callback)

todo

  • JSDoc comments and automatically generating documentation.
  • Should clear and unset be merged?
  • Split superstore-sync into its own git repository
  • Split the tests up into those that test the async layer and those that test the localStorage layer. (The point above is a dependency)
npm loves you