Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

storekeeper

0.0.1 • Public • Published

Storekeeper

Simple name value storage with emitted events.

Build Status

Installation

Works with Express 3.0.x

$ npm install storekeeper

Usage

Storekeeper

// require it
var Storekeeper = require('storekeeper').
    store = new Storekeeper().store;
 
// Listen to the 'stored' event
store.on('stored', function (name, object) {
  console.log(name + ' has been stored');
});
 
// add an object to the store
store('item1', { title: 'Item 1' });
 

Todo

  • Write Tests

Keywords

none

install

npm i storekeeper

Downloadsweekly downloads

1

version

0.0.1

license

none

repository

githubgithub

last publish

collaborators

  • avatar