Skip to content

jonschlinkert/storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

storage NPM version

Basic object store for node.js

Install with npm

npm i storage --save

Run tests

npm test

Usage

var storage = require('storage');

API

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 of key

Get the stored vale of key.

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license


This file was generated by verb on December 16, 2014.

About

Object store for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published