symbol-registry

0.1.1 • Public • Published

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


Modify and build


npm install

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

Unit tests: grunt unit

Package Sidebar

Install

npm i symbol-registry

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • polochon