API for working with localstorage via browerify providing a pullstream api
Local storage library with pull stream api.
var request = require'hyperquest';var pull = require'pull-stream';var pullable = require'stream-to-pullstream';var store = require'localstore';var pullbaleRequest = pullablerequestgethttps://api.github.com/repos/substack/hyperquest))//Save the body of the requestpullableRequestpipestoreset'substack.hyperquest';//Get and log request to outputstoreget'substack.hyperquest'pipepull.log;
var store = require'store';
Set is a sink stream therefore there can only be one store set in the pipe.
Get is source stream you can pull from it. It must be at the start of a pipeline.
local store currently doesn't have and will not support storing values as JSON. It is recommend that you use a json stream transfomer for performing such opperation.