woch
v0.1.0
Published
Yet a simple in-memory key/value storage module
Downloads
2
Readme
Wòch
Yet a simple in-memory key/value storage module
Getting Started
Install the module with: npm install woch
Usage
Require module.
var Woch = require( "woch" );
Store/set item
Woch.set( key, value );
Woch.setItem( key, value );
Retrieve/get item
Woch.get( key );
Woch.getItem( key );
Retrieve/get all items
Woch.keys();
Test key
Woch.has( key );
Get item at index
Woch.key( index );
Remove/delete item
Woch.remove( key );
Woch.removeItem( key );
Remove/delete all items
Woch.clear();
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Release History
2013-09-06: v0.1.0 - initial version
License
Copyright (c) 2013 Leny Licensed under the MIT license.