symbol-for

A silly ponyfill for and Symbol and Symbol.for

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
symbol-for
001.0.15 years ago5 years agoMinified + gzip package size for symbol-for in KB

Readme

Build Status
symbol-for
A silly ponyfill for Symbol, Symbol.for and Symbol.keyFor.

Install

$ npm install symbol-for

Usage

import symbol from 'symbol-for'

symbol('a')
symbol.for('a')
symbol.keyFor(symbol.for('a'))  // 'a'

License

MIT