Basic object store for node.js
Install with npm
npm i storage --save
npm test
var storage = require('storage');
Create a new instance of Storage
, optionally passing a default cache
object to initialize with.
cache
{Object}
var Storage = require('storage');
var storage = new Storage();
key
{String}value
{*}
Assign value
to key
.
key
{String}returns
{*}: Returns the stored value ofkey
Get the stored vale of key
.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on December 16, 2014.