objstorage

1.0.0 • Public • Published

objstorage

Made by unshiftVersion npmBuild StatusDependenciesCoverage StatusIRC channel

A cross platform sessionStorage or localStorage for browsers and node backed by an plain object instead of browser API's.

Installation

This module is written for node and browserify and can be installed using npm:

npm install --save objstorage

Usage

This 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()

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.02,605latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.02,605

Package Sidebar

Install

npm i objstorage

Weekly Downloads

2,605

Version

1.0.0

License

MIT

Unpacked Size

6.99 kB

Total Files

5

Last publish

Collaborators

  • 3rdeden