Skip to content

ae-code/node-localStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localStorage API for Node.js

Follows webstorage specification: http://www.w3.org/TR/webstorage/. Will write to persistent storage upon Node process exit.

Usage

var Storage = require('localStorage').Storage;
var localStorage = new Storage("localStorage.dat");
localStorage.foo = "bar";
localStorage.setItem("abc", "xyz");

For just in-memory storage, call the Storage constructor without a filename.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published