0.0.1 • Published 10 years ago

insulate v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

Insulate

Insulated JavaScript stores

Usage

var insulated = insulate();

insulated.set('bar', 'foo');
insulated.get('bar');        // 'foo'

insulated.define('isBarFoo', function () {
  return this.get('bar') === 'foo';
});

insulated.isBarFoo();        // 'true'

Installation

$ npm install insulate

Testing

Lint:

$ npm run lint

Lint and run test suite:

$ npm test

License

MIT