Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Yet a simple in-memory key/value storage module for Node.js
JavaScript
branch: master
Failed to load latest commit information.
lib Writing code to pass tests
test New tests cases
.gitignore Grunt init
.jshintrc Grunt init
.travis.yml Configure Travis CI
Gruntfile.js Grunt init
LICENSE Initial commit
README.md Documentation
package.json Prépare publishing

README.md

Wòch

Build Status

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.

Something went wrong with that request. Please try again.