insulate

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i insulate

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • rjz