node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


access localstorage with the node stream API


npm install localstream

use html5 localstorage with node stream api

var ls = require('localstream');

ls is a stream and speaks stream events: storage, error and end. that means you can pipe storage to anything that accepts streams, such as an XHR.

ls.on('storage', function(data){
ls.on('error', function(err){
ls.set("key", value);