otherstore

0.0.2 • Public • Published

otherstore

Persistent localStorage with Cookie fallback for "Private mode" on iOS devices. Uses JSON to serialize/deserialize data. Supports prefixes. No extra sugar.

Install

$ npm install --save otherstore

Usage

var store = require('otherstore');
 
store.setPrefix('myapp');
store.set('hello from', { message: 'the other side' });
 
console.log('hello from', store.get('hello from').message); // hello from the other side

License

MIT © Max Degterev

Readme

Keywords

Package Sidebar

Install

npm i otherstore

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • suprmax