{"name":"es6-symbol","version":"0.0.0","description":"ECMAScript6 Symbol polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["symbol","private","property","es6","ecmascript","harmony"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-symbol.git"},"scripts":{"test":"node ./node_modules/tad/bin/tad"},"dependencies":{"d":"git://github.com/medikoo/d.git","es5-ext":"git://github.com/medikoo/es5-ext.git"},"devDependencies":{"tad":"~0.1.20"},"license":"MIT","bugs":{"url":"https://github.com/medikoo/es6-symbol/issues"},"homepage":"https://github.com/medikoo/es6-symbol","_id":"es6-symbol@0.0.0","dist":{"shasum":"eefb0875ccab201addb68f7a75efcf1b6dac9e14","tarball":"http://registry-npm.ywwl.com/es6-symbol/download/es6-symbol-0.0.0.tgz","integrity":"sha512-IkHqe7EhzoQ8X6RjmTcwZWdSNzdOxIp87XRGl1O5//vX/kBWJmEnSeswSDwvFWgG28iri7aBlKn39uUiSNAVrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9VaxFTL7vJW/ZduGWY6gc+0n2mtzJOFEywLCnnOYAPAIgGhSlBytN4UJkiAac6qqrcGfXftptPMKOPaZNRfTbFI4="}],"size":4134,"noattachment":false,"key":"/es6-symbol/-/es6-symbol-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"directories":{},"readme":"[![Build status][build-image]][build-url]\n[![Tests coverage][cov-image]][cov-url]\n[![npm version][npm-image]][npm-url]\n\n# es6-symbol\n\n## ECMAScript 6 Symbol polyfill\n\nFor more information about symbols see following links\n\n- [Symbols in ECMAScript 6 by Axel Rauschmayer](http://www.2ality.com/2014/12/es6-symbols.html)\n- [MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol)\n- [Specification](https://tc39.github.io/ecma262/#sec-symbol-objects)\n\n### Limitations\n\nUnderneath it uses real string property names which can easily be retrieved, however accidental collision with other property names is unlikely.\n\n### Usage\n\nIf you'd like to use native version when it exists and fallback to [ponyfill](https://ponyfill.com) if it doesn't, use _es6-symbol_ as following:\n\n```javascript\nvar Symbol = require(\"es6-symbol\");\n```\n\nIf you want to make sure your environment implements `Symbol` globally, do:\n\n```javascript\nrequire(\"es6-symbol/implement\");\n```\n\nIf you strictly want to use polyfill even if native `Symbol` exists (hard to find a good reason for that), do:\n\n```javascript\nvar Symbol = require(\"es6-symbol/polyfill\");\n```\n\n#### API\n\nBest is to refer to [specification](https://tc39.github.io/ecma262/#sec-symbol-objects). Still if you want quick look, follow examples:\n\n```javascript\nvar Symbol = require(\"es6-symbol\");\n\nvar symbol = Symbol(\"My custom symbol\");\nvar x = {};\n\nx[symbol] = \"foo\";\nconsole.log(x[symbol]);\n(\"foo\");\n\n// Detect iterable:\nvar iterator, result;\nif (possiblyIterable[Symbol.iterator]) {\n  iterator = possiblyIterable[Symbol.iterator]();\n  result = iterator.next();\n  while (!result.done) {\n    console.log(result.value);\n    result = iterator.next();\n  }\n}\n```\n\n### Installation\n\n#### NPM\n\nIn your project path:\n\n    $ npm install es6-symbol\n\n##### Browser\n\nTo port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try: [Browserify](http://browserify.org/), [Webmake](https://github.com/medikoo/modules-webmake) or [Webpack](http://webpack.github.io/)\n\n## Tests\n\n    $ npm test\n\n## Security contact information\n\nTo report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-es6-symbol?utm_source=npm-es6-symbol&utm_medium=referral&utm_campaign=readme\">Get professional support for d with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n\n[build-image]: https://github.com/medikoo/es6-symbol/workflows/Integrate/badge.svg\n[build-url]: https://github.com/medikoo/es6-symbol/actions?query=workflow%3AIntegrate\n[cov-image]: https://img.shields.io/codecov/c/github/medikoo/es6-symbol.svg\n[cov-url]: https://codecov.io/gh/medikoo/es6-symbol\n[npm-image]: https://img.shields.io/npm/v/es6-symbol.svg\n[npm-url]: https://www.npmjs.com/package/es6-symbol\n","publish_time":1384517489632,"_cnpm_publish_time":1384517489632,"dist-tags":{"latest":"3.1.4"}}