0.1.1 • Published 9 years ago

symbol-registry v0.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
9 years ago

symbol-registry

Cache system for es6 symbols

Installation


npm install symbol-registry

var registry = require('symbol-registry');

API Reference


Here is the full list of accessible methods:

Service require('symbol-registry')

###registry( keys )

Params:

  • keys: String or Array. key(s) to retrieve as symbol.

Returns:

  • String or Array. symbol(s)

Methods

###erase( keys )

Clear the symbol cache

Params:

  • keys: (Optional) String or Array. key(s) to delete.

Properties

###caseSensitive Boolean

Determine if the storage's case sensitive
OnValueChange: triggers a clear cache


Modify and build


npm install

Build command: grunt es6 It will create js files from the es6 sources.

Unit tests: grunt unit