package
sessionStorage/localStorage API but backed by an object
npm install objstorageGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
6.8 kB
Includes dependencies.
A cross platform sessionStorage or localStorage for browsers and node backed
by an plain object instead of browser API's.
This module is written for node and browserify and can be installed using npm:
npm install --save objstorageThis module exposes a node / module.exports interface.
var objStorage = require('objStorage')The API is exactly the same as the DOM storage API so you can use the following methods:
getItem(key)setItem(key, value)removeItem(key)clear()MIT