Fork me on GitHub

$.store

Extensible localStorage API

$.store offers an extensible API to persistent data storage on the client side of things. While modern browsers support localStorage, older Internet Explorers offer userData. For even older browsers a window.name fallback is in place.

New storage drivers and serializers can be easily added to $.store. You could thus create two storage environments, one for persistent storage, and one for session storage. User defined serializers can aid in converting your javascripts objects to JSON and back to objects.

Demo / Preview

Please check out the (eye-candy™) demo.

Dependencies

This plugin was developed with jQuery 1.4.x. A copy of JSON2 is bundled.

License

Published under the MIT License

Authors

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/medialize/jQuery-store