{"name":"es6-symbol","version":"3.0.1","description":"ECMAScript 6 Symbol polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["symbol","private","property","es6","ecmascript","harmony","ponyfill","polyfill"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-symbol.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.8"},"devDependencies":{"tad":"~0.2.4","xlint":"~0.2.2","xlint-jslint-medikoo":"~0.1.4"},"scripts":{"lint":"node node_modules/xlint/bin/xlint --linter=node_modules/xlint-jslint-medikoo/index.js --no-cache --no-stream","lint-console":"node node_modules/xlint/bin/xlint --linter=node_modules/xlint-jslint-medikoo/index.js --watch","test":"node ./node_modules/tad/bin/tad"},"license":"MIT","gitHead":"8d262d63a6fcef2e77ea052362d77a34898e1210","bugs":{"url":"https://github.com/medikoo/es6-symbol/issues"},"homepage":"https://github.com/medikoo/es6-symbol#readme","_id":"es6-symbol@3.0.1","_shasum":"164221e557c1fd416661ab5b6274ef4b7837337e","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"dist":{"shasum":"164221e557c1fd416661ab5b6274ef4b7837337e","tarball":"http://registry-npm.ywwl.com/es6-symbol/download/es6-symbol-3.0.1.tgz","integrity":"sha512-PHmmKA/ENziU8bde+DDBST1urS8JQMiamX7CMmTrLoSQVmUCjFWk8g+Fjmz06DBo389iG8z1w/RCiJ/Oj43G8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyemP7p7x5WEyM4HU4MQBiFGZERuQBvUt+mOMZ1BDEbwIhAJOtHvXOl3D9kjOh0uOiFOZJS+doH1ZH6gOi60GrGtIQ"}],"size":5411,"noattachment":false,"key":"/es6-symbol/-/es6-symbol-3.0.1.tgz"},"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":1445505093204,"_cnpm_publish_time":1445505093204,"dist-tags":{"latest":"3.1.4"}}