]> git.r.bdr.sh - rbdr/dotfiles/blame - atom/.apm/registry.npmjs.org/es6-iterator/.cache.json
Adds atom
[rbdr/dotfiles] / atom / .apm / registry.npmjs.org / es6-iterator / .cache.json
CommitLineData
24c7594d 1{"_id":"es6-iterator","_rev":"13-31ea75fe958c00c6c8c7c5483f4b0e7d","name":"es6-iterator","description":"Iterator abstraction based on ES6 specification","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.0":{"name":"es6-iterator","version":"0.0.0","description":"Iterator abstraction based on ES6 specification","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["iterator","array","list","set","map","generator"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-iterator.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":{"event-emitter":"git://github.com/medikoo/event-emitter.git","tad":"~0.1.19"},"license":"MIT","bugs":{"url":"https://github.com/medikoo/es6-iterator/issues"},"_id":"es6-iterator@0.0.0","dist":{"shasum":"b3180d6bddd322f6f3f3b1ed3bc60b6b8947c8c9","tarball":"http://registry.npmjs.org/es6-iterator/-/es6-iterator-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"directories":{}},"0.1.0":{"name":"es6-iterator","version":"0.1.0","description":"Iterator abstraction based on ES6 specification","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["iterator","array","list","set","map","generator"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-iterator.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.2","es6-symbol":"~0.1.1"},"devDependencies":{"event-emitter":"~0.3.1","tad":"0.2.x"},"scripts":{"test":"node ./node_modules/tad/bin/tad"},"license":"MIT","bugs":{"url":"https://github.com/medikoo/es6-iterator/issues"},"homepage":"https://github.com/medikoo/es6-iterator","_id":"es6-iterator@0.1.0","dist":{"shasum":"67df1a08d2bf1b921a09f18cf5a6ba3cd4041a39","tarball":"http://registry.npmjs.org/es6-iterator/-/es6-iterator-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"directories":{}},"0.1.1":{"name":"es6-iterator","version":"0.1.1","description":"Iterator abstraction based on ES6 specification","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["iterator","array","list","set","map","generator"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-iterator.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.2","es6-symbol":"0.1.x"},"devDependencies":{"event-emitter":"~0.3.1","tad":"0.2.x"},"scripts":{"test":"node ./node_modules/tad/bin/tad"},"license":"MIT","bugs":{"url":"https://github.com/medikoo/es6-iterator/issues"},"homepage":"https://github.com/medikoo/es6-iterator","_id":"es6-iterator@0.1.1","dist":{"shasum":"5e136c899aa1c26296414f90859b73934812d275","tarball":"http://registry.npmjs.org/es6-iterator/-/es6-iterator-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"directories":{}},"0.1.2":{"name":"es6-iterator","version":"0.1.2","description":"Iterator abstraction based on ES6 specification","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["iterator","array","list","set","map","generator"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-iterator.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.4","es6-symbol":"~0.1.1"},"devDependencies":{"event-emitter":"~0.3.1","tad":"0.2","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":"3a7a93d1e20af6d3acba8e4b68fc95107c9c6613","bugs":{"url":"https://github.com/medikoo/es6-iterator/issues"},"homepage":"https://github.com/medikoo/es6-iterator","_id":"es6-iterator@0.1.2","_shasum":"a37429ead74e5c9ed95068b0dc904c568d9a9b6a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"dist":{"shasum":"a37429ead74e5c9ed95068b0dc904c568d9a9b6a","tarball":"http://registry.npmjs.org/es6-iterator/-/es6-iterator-0.1.2.tgz"},"directories":{}},"0.1.3":{"name":"es6-iterator","version":"0.1.3","description":"Iterator abstraction based on ES6 specification","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["iterator","array","list","set","map","generator"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-iterator.git"},"dependencies":{"d":"~0.1.1","es5-ext":"~0.10.5","es6-symbol":"~2.0.1"},"devDependencies":{"event-emitter":"~0.3.3","tad":"~0.2.1","xlint":"~0.2.2","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":"2addc362c6f139e4941cf4726eeb59e5960c5cef","bugs":{"url":"https://github.com/medikoo/es6-iterator/issues"},"homepage":"https://github.com/medikoo/es6-iterator","_id":"es6-iterator@0.1.3","_shasum":"d6f58b8c4fc413c249b4baa19768f8e4d7c8944e","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.11.16","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"dist":{"shasum":"d6f58b8c4fc413c249b4baa19768f8e4d7c8944e","tarball":"http://registry.npmjs.org/es6-iterator/-/es6-iterator-0.1.3.tgz"},"directories":{}},"1.0.0":{"name":"es6-iterator","version":"1.0.0","description":"Iterator abstraction based on ES6 specification","author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"keywords":["iterator","array","list","set","map","generator"],"repository":{"type":"git","url":"git://github.com/medikoo/es6-iterator.git"},"dependencies":{"d":"^0.1.1","es5-ext":"^0.10.7","es6-symbol":"^2.0.1"},"devDependencies":{"event-emitter":"^0.3.3","tad":"^0.2.3","xlint":"^0.2.2","xlint-jslint-medikoo":"^0.1.3"},"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":"bab50dcd623d51d9e5568fe3aa2ac01f6053c066","bugs":{"url":"https://github.com/medikoo/es6-iterator/issues"},"homepage":"https://github.com/medikoo/es6-iterator#readme","_id":"es6-iterator@1.0.0","_shasum":"dc3fb5d4c4aa14e4d36daa79fe4e95c27d4b32d1","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"medikoo","email":"medikoo+npm@medikoo.com"},"dist":{"shasum":"dc3fb5d4c4aa14e4d36daa79fe4e95c27d4b32d1","tarball":"http://registry.npmjs.org/es6-iterator/-/es6-iterator-1.0.0.tgz"},"maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"directories":{}}},"readme":"# es6-iterator\n## ECMAScript 6 Iterator interface\n\n### Installation\n\n\t$ npm install es6-iterator\n\t\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\n### Constructors\n\n#### Iterator(list) _(es6-iterator)_\n\nAbstract Iterator interface. Meant for extensions and not to be used on its own.\n\nAccepts any _list_ object (technically object with numeric _length_ property).\n\n_Mind it doesn't iterate strings properly, for that use dedicated [StringIterator](#string-iterator)_\n\n```javascript\nvar Iterator = require('es6-iterator')\nvar iterator = new Iterator([1, 2, 3]);\n\niterator.next(); // { value: 1, done: false }\niterator.next(); // { value: 2, done: false }\niterator.next(); // { value: 3, done: false }\niterator.next(); // { value: undefined, done: true }\n```\n\n\n#### ArrayIterator(arrayLike[, kind]) _(es6-iterator/array)_\n\nDedicated for arrays and array-likes. Supports three iteration kinds:\n* __value__ _(default)_ - Iterates values\n* __key__ - Iterates indexes\n* __key+value__ - Iterates keys and indexes, each iteration value is in _[key, value]_ form.\n\n\n```javascript\nvar ArrayIterator = require('es6-iterator/array')\nvar iterator = new ArrayIterator([1, 2, 3], 'key+value');\n\niterator.next(); // { value: [0, 1], done: false }\niterator.next(); // { value: [1, 2], done: false }\niterator.next(); // { value: [2, 3], done: false }\niterator.next(); // { value: undefined, done: true }\n```\n\nMay also be used for _arguments_ objects:\n\n```javascript\n(function () {\n var iterator = new ArrayIterator(arguments);\n\n iterator.next(); // { value: 1, done: false }\n iterator.next(); // { value: 2, done: false }\n iterator.next(); // { value: 3, done: false }\n iterator.next(); // { value: undefined, done: true }\n}(1, 2, 3));\n```\n\n#### StringIterator(str) _(es6-iterator/string)_\n\nAssures proper iteration over unicode symbols. \nSee: http://mathiasbynens.be/notes/javascript-unicode\n\n```javascript\nvar StringIterator = require('es6-iterator/string');\nvar iterator = new StringIterator('fπŸ™ˆoπŸ™‰oπŸ™Š');\n\niterator.next(); // { value: 'f', done: false }\niterator.next(); // { value: 'πŸ™ˆ', done: false }\niterator.next(); // { value: 'o', done: false }\niterator.next(); // { value: 'πŸ™‰', done: false }\niterator.next(); // { value: 'o', done: false }\niterator.next(); // { value: 'πŸ™Š', done: false }\niterator.next(); // { value: undefined, done: true }\n```\n\n### Function utilities\n\n#### forOf(iterable, callback[, thisArg]) _(es6-iterator/for-of)_\n\nPolyfill for ECMAScript 6 [`for...of`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of) statement.\n\n```\nvar forOf = require('es6-iterator/for-of');\nvar result = [];\n\nforOf('πŸ™ˆπŸ™‰πŸ™Š', function (monkey) { result.push(monkey); });\nconsole.log(result); // ['πŸ™ˆ', 'πŸ™‰', 'πŸ™Š'];\n```\n\nOptionally you can break iteration at any point:\n\n```javascript\nvar result = [];\n\nforOf([1,2,3,4]', function (val, doBreak) {\n result.push(monkey);\n if (val >= 3) doBreak();\n});\nconsole.log(result); // [1, 2, 3];\n```\n\n#### get(obj) _(es6-iterator/get)_\n\nReturn iterator for any iterable object.\n\n```javascript\nvar getIterator = require('es6-iterator/get');\nvar iterator = get([1,2,3]);\n\niterator.next(); // { value: 1, done: false }\niterator.next(); // { value: 2, done: false }\niterator.next(); // { value: 3, done: false }\niterator.next(); // { value: undefined, done: true }\n```\n\n#### isIterable(obj) _(es6-iterator/is-iterable)_\n\nWhether _obj_ is iterable\n\n```javascript\nvar isIterable = require('es6-iterator/is-iterable');\n\nisIterable(null); // false\nisIterable(true); // false\nisIterable('str'); // true\nisIterable(['a', 'r', 'r']); // true\nisIterable(new ArrayIterator([])); // true\n```\n\n#### validIterable(obj) _(es6-iterator/valid-iterable)_\n\nIf _obj_ is an iterable it is returned. Otherwise _TypeError_ is thrown.\n\n### Method extensions\n\n#### iterator.chain(iterator1[, …iteratorn]) _(es6-iterator/#/chain)_\n\nChain multiple iterators into one.\n\n### Tests [![Build Status](https://travis-ci.org/medikoo/es6-iterator.png)](https://travis-ci.org/medikoo/es6-iterator)\n\n\t$ npm test\n","maintainers":[{"name":"medikoo","email":"medikoo+npm@medikoo.com"}],"time":{"modified":"2015-06-23T15:03:49.041Z","created":"2013-10-12T09:58:13.545Z","0.0.0":"2013-10-12T09:58:21.924Z","0.1.0":"2014-04-29T11:27:36.995Z","0.1.1":"2014-04-29T11:32:11.236Z","0.1.2":"2014-11-19T14:11:17.077Z","0.1.3":"2015-02-02T12:02:06.350Z","1.0.0":"2015-06-23T15:03:49.041Z"},"author":{"name":"Mariusz Nowak","email":"medyk@medikoo.com","url":"http://www.medikoo.com/"},"repository":{"type":"git","url":"git://github.com/medikoo/es6-iterator.git"},"homepage":"https://github.com/medikoo/es6-iterator#readme","keywords":["iterator","array","list","set","map","generator"],"bugs":{"url":"https://github.com/medikoo/es6-iterator/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mcharytoniuk":true},"_attachments":{},"_etag":"\"24IGKV4VVOG1371ZS8BVIN3HV\""}