How to access localStorage in node.js?


Question

I tried searching the web for a node module that can access the client's localStorage but wasn't able to find anything. Anyone know of one?

1
21
4/27/2012 9:27:30 PM

You can use :

node-localstorage npm module to use localStorage at the server side.

var LocalStorage = require('node-localstorage').LocalStorage,
localStorage = new LocalStorage('./scratch');
27
10/15/2014 12:58:42 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon