{"name":"es6-set","version":"0.1.5","description":"ECMAScript6 Set polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["set","collection","es6","harmony","list","hash"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-set.git"},"dependencies":{"d":"1","es5-ext":"~0.10.14","es6-iterator":"~2.0.1","es6-symbol":"3.1.1","event-emitter":"~0.3.5"},"devDependencies":{"tad":"~0.2.7","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":"e1f3198609b6e0b8c62f5c5f6a8913a7f488f258","bugs":{"url":"https://github.com/medikoo/es6-set/issues"},"homepage":"https://github.com/medikoo/es6-set#readme","_id":"es6-set@0.1.5","_shasum":"d2b3ec5d4d800ced818db538d28974db0a73ccb1","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.0","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"dist":{"shasum":"d2b3ec5d4d800ced818db538d28974db0a73ccb1","tarball":"http://registry-npm.ywwl.com/es6-set/download/es6-set-0.1.5.tgz","integrity":"sha512-7S8YXIcUfPMOr3rqJBVMePAbRsD1nWeSMQ86K/lDI76S3WKXz+KWILvTIPbTroubOkZTGh+b+7/xIIphZXNYbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmFTOO16X+56s1SRMbGxmjxxvLwcGp+/VDPmWEDLK+MgIhANeoJjEu5s+1Dxew02FmP0vfUrPGn+c3quaALRfS1nwX"}],"size":8190,"noattachment":false,"key":"/es6-set/-/es6-set-0.1.5.tgz"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/es6-set-0.1.5.tgz_1489663202314_0.31579156569205225"},"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-set\n\n## Set collection as specified in ECMAScript6\n\n**Warning:  \nv0.1 version does not ensure O(1) algorithm complexity (but O(n)). This shortcoming will be addressed in v1.0**\n\n### Usage\n\nIf you want to make sure your environment implements `Set`, do:\n\n```javascript\nrequire(\"es6-set/implement\");\n```\n\nIf you'd like to use native version when it exists and fallback to polyfill if it doesn't, but without implementing `Set` on global scope, do:\n\n```javascript\nvar Set = require(\"es6-set\");\n```\n\nIf you strictly want to use polyfill even if native `Set` exists, do:\n\n```javascript\nvar Set = require(\"es6-set/polyfill\");\n```\n\n### Installation\n\n    $ npm install es6-set\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#### API\n\nBest is to refer to [specification](http://people.mozilla.org/~jorendorff/es6-draft.html#sec-set-objects). Still if you want quick look, follow examples:\n\n```javascript\nvar Set = require(\"es6-set\");\n\nvar set = new Set([\"raz\", \"dwa\", {}]);\n\nset.size; // 3\nset.has(\"raz\"); // true\nset.has(\"foo\"); // false\nset.add(\"foo\"); // set\nset.size; // 4\nset.has(\"foo\"); // true\nset.has(\"dwa\"); // true\nset.delete(\"dwa\"); // true\nset.size; // 3\n\nset.forEach(function (value) {\n  // 'raz', {}, 'foo' iterated\n});\n\n// FF nightly only:\nfor (value of set) {\n  // 'raz', {}, 'foo' iterated\n}\n\nvar iterator = set.values();\n\niterator.next(); // { done: false, value: 'raz' }\niterator.next(); // { done: false, value: {} }\niterator.next(); // { done: false, value: 'foo' }\niterator.next(); // { done: true, value: undefined }\n\nset.clear(); // undefined\nset.size; // 0\n```\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-set?utm_source=npm-es6-set&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-set/workflows/Integrate/badge.svg\n[build-url]: https://github.com/medikoo/es6-set/actions?query=workflow%3AIntegrate\n[cov-image]: https://img.shields.io/codecov/c/github/medikoo/es6-set.svg\n[cov-url]: https://codecov.io/gh/medikoo/es6-set\n[npm-image]: https://img.shields.io/npm/v/es6-set.svg\n[npm-url]: https://www.npmjs.com/package/es6-set\n","publish_time":1489663204225,"_cnpm_publish_time":1489663204225,"dist-tags":{"latest":"0.1.6"}}