{"_id":"es6-map","_rev":"90272","name":"es6-map","description":"ECMAScript6 Map polyfill","dist-tags":{"latest":"0.1.5"},"maintainers":[{"name":"medikoo","email":""}],"time":{"modified":"2021-06-03T10:29:33.000Z","created":"2013-11-10T14:58:12.340Z","0.1.5":"2017-03-17T16:25:56.947Z","0.1.4":"2016-06-03T14:40:05.046Z","0.1.3":"2015-11-18T13:50:12.125Z","0.1.2":"2015-10-15T12:37:31.972Z","0.1.1":"2014-10-07T15:50:47.720Z","0.1.0":"2014-04-29T11:56:44.955Z","0.0.1":"2014-04-25T14:47:00.812Z","0.0.0":"2013-11-10T14:58:12.340Z"},"users":{"mcharytoniuk":true,"nickeljew":true,"joris-van-der-wel":true,"ziflex":true,"koulmomo":true,"hyokosdeveloper":true},"author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.git"},"versions":{"0.1.5":{"name":"es6-map","version":"0.1.5","description":"ECMAScript6 Map polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.git"},"dependencies":{"d":"1","es5-ext":"~0.10.14","es6-iterator":"~2.0.1","es6-set":"~0.1.5","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":"901fee71166dd5bc4b515b619521ae403a95472e","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"homepage":"https://github.com/medikoo/es6-map#readme","_id":"es6-map@0.1.5","_shasum":"9136e0503dcc06a301690f0bb14ff4e364e949f0","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.8.0","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"dist":{"shasum":"9136e0503dcc06a301690f0bb14ff4e364e949f0","size":7961,"noattachment":false,"key":"/es6-map/-/es6-map-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-map/download/es6-map-0.1.5.tgz"},"maintainers":[{"name":"medikoo","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/es6-map-0.1.5.tgz_1489767956347_0.803560264641419"},"directories":{},"publish_time":1489767956947,"_cnpm_publish_time":1489767956947,"_hasShrinkwrap":false},"0.1.4":{"name":"es6-map","version":"0.1.4","description":"ECMAScript6 Map polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.11","es6-iterator":"2","es6-set":"~0.1.3","es6-symbol":"~3.1.0","event-emitter":"~0.3.4"},"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":"8bac54367a95720d24bb517fba6c7da7f29cc806","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"homepage":"https://github.com/medikoo/es6-map#readme","_id":"es6-map@0.1.4","_shasum":"a34b147be224773a4d7da8072794cefa3632b897","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"dist":{"shasum":"a34b147be224773a4d7da8072794cefa3632b897","size":7862,"noattachment":false,"key":"/es6-map/-/es6-map-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-map/download/es6-map-0.1.4.tgz"},"maintainers":[{"name":"medikoo","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/es6-map-0.1.4.tgz_1464964802447_0.8775503970682621"},"directories":{},"publish_time":1464964805046,"_cnpm_publish_time":1464964805046,"_hasShrinkwrap":false},"0.1.3":{"name":"es6-map","version":"0.1.3","description":"ECMAScript6 Map polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.8","es6-iterator":"2","es6-set":"~0.1.3","es6-symbol":"~3.0.1","event-emitter":"~0.3.4"},"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":"90ef2306db607837426cb806bcd5d439ed90827c","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"homepage":"https://github.com/medikoo/es6-map#readme","_id":"es6-map@0.1.3","_shasum":"fe58c6654c6acd54e4397cdb72379d59b6ad5894","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"dist":{"shasum":"fe58c6654c6acd54e4397cdb72379d59b6ad5894","size":7848,"noattachment":false,"key":"/es6-map/-/es6-map-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-map/download/es6-map-0.1.3.tgz"},"maintainers":[{"name":"medikoo","email":""}],"directories":{},"publish_time":1447854612125,"_cnpm_publish_time":1447854612125,"_hasShrinkwrap":false},"0.1.2":{"name":"es6-map","version":"0.1.2","description":"ECMAScript6 Map polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ponyfill","ecmascript"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.8","es6-iterator":"2","es6-set":"~0.1.2","es6-symbol":"3","event-emitter":"~0.3.4"},"devDependencies":{"tad":"~0.2.3","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":"905cac53a35d20659b3fc4a5bfd3e1911c775413","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"homepage":"https://github.com/medikoo/es6-map#readme","_id":"es6-map@0.1.2","_shasum":"d10a43683d8a6aa1819ace842f3343352dbfd094","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"dist":{"shasum":"d10a43683d8a6aa1819ace842f3343352dbfd094","size":7791,"noattachment":false,"key":"/es6-map/-/es6-map-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-map/download/es6-map-0.1.2.tgz"},"maintainers":[{"name":"medikoo","email":""}],"directories":{},"publish_time":1444912651972,"_cnpm_publish_time":1444912651972,"_hasShrinkwrap":false},"0.1.1":{"name":"es6-map","version":"0.1.1","description":"ECMAScript6 Map polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ecmascript"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.4","es6-iterator":"~0.1.1","es6-set":"~0.1.1","es6-symbol":"~0.1.1","event-emitter":"~0.3.1"},"devDependencies":{"tad":"0.2.x","xlint":"~0.2.1","xlint-jslint-medikoo":"~0.1.2"},"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":"16b0bce8defe9742a40b9cac1eed194ee4e2d820","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"homepage":"https://github.com/medikoo/es6-map","_id":"es6-map@0.1.1","_shasum":"b879239ed7819e0b08c40ba6e19fa047ca7c8d1d","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":""}],"dist":{"shasum":"b879239ed7819e0b08c40ba6e19fa047ca7c8d1d","size":7544,"noattachment":false,"key":"/es6-map/-/es6-map-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-map/download/es6-map-0.1.1.tgz"},"directories":{},"publish_time":1412697047720,"_cnpm_publish_time":1412697047720,"_hasShrinkwrap":false},"0.1.0":{"name":"es6-map","version":"0.1.0","description":"ECMAScript6 Map polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ecmascript"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.2","es6-iterator":"~0.1.1","es6-set":"0.1.x","es6-symbol":"0.1.x","event-emitter":"~0.3.1"},"devDependencies":{"tad":"0.2.x"},"scripts":{"test":"node ./node_modules/tad/bin/tad"},"license":"MIT","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"homepage":"https://github.com/medikoo/es6-map","_id":"es6-map@0.1.0","dist":{"shasum":"46c114209af27eff473c8470a8d9308e243a0048","size":7308,"noattachment":false,"key":"/es6-map/-/es6-map-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-map/download/es6-map-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":""}],"directories":{},"publish_time":1398772604955,"_cnpm_publish_time":1398772604955,"_hasShrinkwrap":false},"0.0.1":{"name":"es6-map","version":"0.0.1","description":"ECMAScript6 Map polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ecmascript"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.git"},"scripts":{"test":"node ./node_modules/tad/bin/tad"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.2","es6-iterator":"git://github.com/medikoo/es6-iterator.git","es6-set":"git://github.com/medikoo/es6-set.git","es6-symbol":"git://github.com/medikoo/es6-symbol.git","event-emitter":"~0.3.1"},"devDependencies":{"tad":"~0.1.21"},"license":"MIT","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"homepage":"https://github.com/medikoo/es6-map","_id":"es6-map@0.0.1","dist":{"shasum":"34170f8b0129baeb1c49ab7466a99f1451f94761","size":7181,"noattachment":false,"key":"/es6-map/-/es6-map-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-map/download/es6-map-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":""}],"directories":{},"publish_time":1398437220812,"_cnpm_publish_time":1398437220812,"_hasShrinkwrap":false},"0.0.0":{"name":"es6-map","version":"0.0.0","description":"ECMAScript6 Map polyfill","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["collection","es6","shim","harmony","list","hash","map","polyfill","ecmascript"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-map.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","es6-iterator":"git://github.com/medikoo/es6-iterator.git","es6-set":"git://github.com/medikoo/es6-set.git","event-emitter":"git://github.com/medikoo/event-emitter.git"},"devDependencies":{"tad":"~0.1.20"},"license":"MIT","readmeFilename":"README.md","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"_id":"es6-map@0.0.0","dist":{"shasum":"0bf02a62162b31e439f4ae5928c56ac3ed177bea","size":6777,"noattachment":false,"key":"/es6-map/-/es6-map-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/es6-map/download/es6-map-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":""}],"directories":{},"publish_time":1384095492340,"_cnpm_publish_time":1384095492340,"_hasShrinkwrap":false}},"readme":"# es6-map\n## Map 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\n### Usage\n\nIt’s safest to use *es6-map* as a [ponyfill](https://ponyfill.com) – a polyfill which doesn’t touch global objects:\n\n```javascript\nvar Map = require('es6-map');\n```\n\nIf you want to make sure your environment implements `Map` globally, do:\n\n```javascript\nrequire('es6-map/implement');\n```\n\nIf you strictly want to use the polyfill even if the native `Map` exists, do:\n\n```javascript\nvar Map = require('es6-map/polyfill');\n```\n\n### Installation\n\n\t$ npm install es6-map\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-map-objects). Still if you want quick look, follow examples:\n\n```javascript\nvar Map = require('es6-map');\n\nvar x = {}, y = {}, map = new Map([['raz', 'one'], ['dwa', 'two'], [x, y]]);\n\nmap.size;                 // 3\nmap.get('raz');           // 'one'\nmap.get(x);               // y\nmap.has('raz');           // true\nmap.has(x);               // true\nmap.has('foo');           // false\nmap.set('trzy', 'three'); // map\nmap.size                  // 4\nmap.get('trzy');          // 'three'\nmap.has('trzy');          // true\nmap.has('dwa');           // true\nmap.delete('dwa');        // true\nmap.size;                 // 3\n\nmap.forEach(function (value, key) {\n  // { 'raz', 'one' }, { x, y }, { 'trzy', 'three' } iterated\n});\n\n// FF nightly only:\nfor (value of map) {\n // ['raz', 'one'], [x, y], ['trzy', 'three'] iterated\n}\n\nvar iterator = map.values();\n\niterator.next(); // { done: false, value: 'one' }\niterator.next(); // { done: false, value: y }\niterator.next(); // { done: false, value: 'three' }\niterator.next(); // { done: true, value: undefined }\n\nmap.clear(); // undefined\nmap.size; // 0\n```\n\n## Tests [![Build Status](https://travis-ci.org/medikoo/es6-map.png)](https://travis-ci.org/medikoo/es6-map)\n\n\t$ npm test\n","_attachments":{},"homepage":"https://github.com/medikoo/es6-map#readme","bugs":{"url":"https://github.com/medikoo/es6-map/issues"},"license":"MIT"}