{"name":"es6-symbol","version":"3.1.3","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":"^1.0.1","ext":"^1.1.2"},"devDependencies":{"eslint":"^6.6.0","eslint-config-medikoo":"^2.6.0","git-list-updated":"^1.2.1","husky":"^3.0.9","lint-staged":"^9.4.2","prettier-elastic":"^1.18.2","tad":"^3.0.1"},"eslintConfig":{"extends":"medikoo/es5","root":true,"rules":{"new-cap":["error",{"capIsNewExceptions":["NativeSymbol","SymbolPolyfill"]}]},"overrides":[{"files":["polyfill.js"],"rules":{"func-names":"off"}},{"files":["test/*.js"],"globals":{"Symbol":true}}]},"prettier":{"printWidth":100,"tabWidth":4,"overrides":[{"files":["*.md"],"options":{"tabWidth":2}}]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":["eslint"],"*.{css,html,js,json,md,yaml,yml}":["prettier -c"]},"scripts":{"lint":"eslint --ignore-path=.gitignore .","lint:updated":"pipe-git-updated --ext=js -- eslint --ignore-pattern '!*'","prettier-check":"prettier -c --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"","prettier-check:updated":"pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier -c","prettify":"prettier --write --ignore-path .gitignore \"**/*.{css,html,js,json,md,yaml,yml}\"","prettify:updated":"pipe-git-updated --ext=css --ext=html --ext=js --ext=json --ext=md --ext=yaml --ext=yml -- prettier --write","test":"tad"},"license":"ISC","gitHead":"7f142801a2263704bd71ad41028e464ac850af35","bugs":{"url":"https://github.com/medikoo/es6-symbol/issues"},"homepage":"https://github.com/medikoo/es6-symbol#readme","_id":"es6-symbol@3.1.3","_nodeVersion":"13.0.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==","shasum":"bad5d3c1bcdac28269f4cb331e431c78ac705d18","tarball":"http://registry-npm.ywwl.com/es6-symbol/download/es6-symbol-3.1.3.tgz","fileCount":25,"unpackedSize":19359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduA6kCRA9TVsSAnZWagAA86UP/1gU5wBU+ErILTVEZH3w\nC+o/SvAkevhfWeQmYgsSJYyWju4Uc+Bh7TfJ+XOMZl+ILdy00/j/gDPPschq\nEU720PFtOX3cKSykxp0iGNEEX2fTnawJ6+nwplGOTTdQN8HxSeweEXdK+v0a\nyHSVm/VG6wzDl2jnXQBCCmr98ZbC6anXEIbzv58DkXZrmThP9zKAi1p6FJO+\nFFByNkuMF007HC6V2YFBAHFrfFDH1awsrnuZAjUopKpNy6nP+7g6DaF3RUxx\npMTdeNPxTtJ1nlokDnjfisffUlN2YprAGSdtW1WS/0tgK3vwB1ubcY2rs6nI\nmkGoIQ6c2GOCPqfavI0AZXs/mGLJaQnPR/2eNjH0hoZzNZA6W6qLeNXuCSNx\noLmQ26LgRWqKSWm15sLyrpzV53JUsx1JFIG4Yuly7nbvzVbPe0yPoKQulg8E\ni3jhMaE5NDqfmoz0W8kcTyYO1VGEVlRjZZ2yRmkfPiCjM/lAy6StBOuWEriZ\nlIb6JxBMRIo4X62AdoFcVs2Ulw3HwDjLf0bTl42piPqWZVO0Y55yVnjZB1aS\npIUIPeM2fRCEaSjXahoBY5A3WoUaVZ42kqcQQWhIQDZZ+22IZtcPf4M+zuM4\nIP+7tGReahE43bDGh1YaEdPyH9GAhndIqH2eThmFGNHtR+gHgD7d4D1ETlQF\nvKyj\r\n=P2jx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAIAzFCEt7FkEM8D1SuOYuqM7sRxbKT1Cn/m5MgxT+RAiAGMhzRwQTj7lGQ41rpurbgLe5qAy5+dJtIIV+m40TEFA=="}],"size":7385,"noattachment":false,"key":"/es6-symbol/-/es6-symbol-3.1.3.tgz"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/es6-symbol_3.1.3_1572343460116_0.1802696446941654"},"_hasShrinkwrap":false,"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":1572343460275,"_cnpm_publish_time":1572343460275,"dist-tags":{"latest":"3.1.4"}}