{"_id":"array-from","_rev":"107174","name":"array-from","description":"A ponyfill for the ES 2015 (ES6) `Array.from()`.","dist-tags":{"latest":"2.1.1"},"maintainers":[{"name":"tomekwi","email":"t.wiszniewski@gmail.com"}],"time":{"modified":"2021-06-03T10:39:05.000Z","created":"2015-05-12T11:04:22.395Z","2.1.1":"2016-04-28T09:38:18.793Z","2.1.0":"2016-04-28T09:32:48.322Z","2.0.2":"2015-09-11T11:48:37.207Z","2.0.1":"2015-09-11T11:44:57.001Z","2.0.0":"2015-09-10T21:09:36.984Z","1.0.0":"2015-05-12T11:04:22.395Z"},"users":{"zema":true,"acmeid":true,"colepacak":true},"repository":{"type":"git","url":"git+ssh://git@github.com/studio-b12/array-from.git"},"versions":{"2.1.1":{"name":"array-from","version":"2.1.1","description":"A ponyfill for the ES 2015 (ES6) `Array.from()`.","dependencies":{},"scripts":{"coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","coverage":"istanbul cover test.js","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","test":"jshint . && npm run test:lite","test:lite":"node test.js | tap-spec","view-coverage":"echo 'Generating coverage reports...'; npm run coverage >/dev/null && echo '...done.' && xdg-open ./coverage/lcov-report/index.html >/dev/null"},"devDependencies":{"1-liners":"0.2.2","core-js":"^1.0.0","coveralls":"2.11.2","istanbul":"0.3.14","jshint":"2.7.0","lodash.isnative":"^3.0.4","nodangel":"1.3.8","tap-spec":"2.2.2","tape":"4.2.2","tape-catch":"1.0.4"},"files":["/*.js","/Readme.md","/License.md"],"license":"MIT","keywords":["Array.from","ponyfill","polyfill","convert","to","array","es-2015","es2015","es6"],"contributors":[{"name":"Tomek Wiszniewski","email":"t.wiszniewski@gmail.com"},{"name":"Benjamin Barber","url":"http://github.com/barberboy"}],"repository":{"type":"git","url":"git+ssh://git@github.com/studio-b12/array-from.git"},"gitHead":"537c6de5e27c810d439c0d662f6482cf5e513635","bugs":{"url":"https://github.com/studio-b12/array-from/issues"},"homepage":"https://github.com/studio-b12/array-from#readme","_id":"array-from@2.1.1","_shasum":"cfe9d8c26628b9dc5aecc62a9f5d8f1f352c1195","_from":".","_npmVersion":"3.8.7","_nodeVersion":"5.10.0","_npmUser":{"name":"tomekwi","email":"t.wiszniewski@gmail.com"},"dist":{"shasum":"cfe9d8c26628b9dc5aecc62a9f5d8f1f352c1195","size":5744,"noattachment":false,"key":"/array-from/-/array-from-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-from/download/array-from-2.1.1.tgz"},"maintainers":[{"name":"tomekwi","email":"t.wiszniewski@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/array-from-2.1.1.tgz_1461836297636_0.45426069549284875"},"directories":{},"publish_time":1461836298793,"_cnpm_publish_time":1461836298793,"_hasShrinkwrap":false},"2.1.0":{"name":"array-from","version":"2.1.0","description":"A ponyfill for the ES 2015 (ES6) `Array.from()`.","dependencies":{},"scripts":{"coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","coverage":"istanbul cover test.js","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","test":"jshint . && npm run test:lite","test:lite":"node test.js | tap-spec","view-coverage":"echo 'Generating coverage reports...'; npm run coverage >/dev/null && echo '...done.' && xdg-open ./coverage/lcov-report/index.html >/dev/null"},"devDependencies":{"1-liners":"0.2.2","core-js":"^1.0.0","coveralls":"2.11.2","istanbul":"0.3.14","jshint":"2.7.0","lodash.isnative":"^3.0.4","nodangel":"1.3.8","tap-spec":"2.2.2","tape":"4.2.2","tape-catch":"1.0.4"},"files":["/*.js","/Readme.md","/License.md"],"license":"MIT","keywords":["Array.from","ponyfill","polyfill","convert","to","array","es-2015","es2015","es6"],"contributors":[{"name":"Tomek Wiszniewski","email":"t.wiszniewski@gmail.com"},{"name":"Benjamin Barber","url":"http://github.com/barberboy"}],"repository":{"type":"git","url":"git+ssh://git@github.com/studio-b12/array-from.git"},"gitHead":"df5681650e83cdb8b0567e25417e0e784c10622f","bugs":{"url":"https://github.com/studio-b12/array-from/issues"},"homepage":"https://github.com/studio-b12/array-from#readme","_id":"array-from@2.1.0","_shasum":"0b6caecf01f17fb3513d262d97f9d21bd2208c8d","_from":".","_npmVersion":"3.8.7","_nodeVersion":"5.10.0","_npmUser":{"name":"tomekwi","email":"t.wiszniewski@gmail.com"},"dist":{"shasum":"0b6caecf01f17fb3513d262d97f9d21bd2208c8d","size":5660,"noattachment":false,"key":"/array-from/-/array-from-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-from/download/array-from-2.1.0.tgz"},"maintainers":[{"name":"tomekwi","email":"t.wiszniewski@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/array-from-2.1.0.tgz_1461835967096_0.9156729374080896"},"directories":{},"publish_time":1461835968322,"_cnpm_publish_time":1461835968322,"_hasShrinkwrap":false},"2.0.2":{"name":"array-from","version":"2.0.2","description":"A ponyfill for the ES 2015 (ES6) `Array.from()`.","dependencies":{},"scripts":{"coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","coverage":"istanbul cover test.js","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","test":"jshint . && npm run test:lite","test:lite":"node test.js | tap-spec","view-coverage":"echo 'Generating coverage reports...'; npm run coverage >/dev/null && echo '...done.' && xdg-open ./coverage/lcov-report/index.html >/dev/null"},"devDependencies":{"1-liners":"0.2.2","core-js":"^1.0.0","coveralls":"2.11.2","istanbul":"0.3.14","jshint":"2.7.0","lodash.isnative":"^3.0.4","nodangel":"1.3.8","tap-spec":"2.2.2","tape-catch":"1.0.4"},"files":["/*.js","/Readme.md","/License.md"],"license":"MIT","keywords":["Array.from","ponyfill","polyfill","convert","to","array","es-2015","es2015","es6"],"contributors":[{"name":"Tomek Wiszniewski","email":"t.wiszniewski@gmail.com"},{"name":"Benjamin Barber","url":"http://github.com/barberboy"}],"repository":{"type":"git","url":"git+ssh://git@github.com/studio-b12/array-from.git"},"gitHead":"3919ca3956b1bf35eebfda28039a87717d85f435","bugs":{"url":"https://github.com/studio-b12/array-from/issues"},"homepage":"https://github.com/studio-b12/array-from#readme","_id":"array-from@2.0.2","_shasum":"ae770a4e5d977eb38145d7200fe86f45b533d79a","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"tomekwi","email":"t.wiszniewski@gmail.com"},"dist":{"shasum":"ae770a4e5d977eb38145d7200fe86f45b533d79a","size":5620,"noattachment":false,"key":"/array-from/-/array-from-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-from/download/array-from-2.0.2.tgz"},"maintainers":[{"name":"tomekwi","email":"t.wiszniewski@gmail.com"}],"directories":{},"publish_time":1441972117207,"_cnpm_publish_time":1441972117207,"_hasShrinkwrap":false},"2.0.1":{"name":"array-from","version":"2.0.1","description":"A ponyfill for the ES 2015 (ES6) `Array.from()`.","dependencies":{},"scripts":{"coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","coverage":"istanbul cover test.js","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","test":"jshint . && npm run test:lite","test:lite":"node test.js | tap-spec","view-coverage":"echo 'Generating coverage reports...'; npm run coverage >/dev/null && echo '...done.' && xdg-open ./coverage/lcov-report/index.html >/dev/null"},"devDependencies":{"1-liners":"0.2.2","core-js":"^1.0.0","coveralls":"2.11.2","istanbul":"0.3.14","jshint":"2.7.0","lodash.isnative":"^3.0.4","nodangel":"1.3.8","tap-spec":"2.2.2","tape-catch":"1.0.4"},"files":["/*.js","/Readme.md","/License.md"],"license":"MIT","keywords":["Array.from","ponyfill","polyfill","convert","to","array","es-2015","es2015","es6"],"contributors":[{"name":"Tomek Wiszniewski","email":"t.wiszniewski@gmail.com"},{"name":"Benjamin Barber","url":"http://github.com/barberboy"}],"repository":{"type":"git","url":"git+ssh://git@github.com/studio-b12/array-from.git"},"gitHead":"035e482c9f4c80b1f82014de8d2b3d0fc948df56","bugs":{"url":"https://github.com/studio-b12/array-from/issues"},"homepage":"https://github.com/studio-b12/array-from#readme","_id":"array-from@2.0.1","_shasum":"82c2d47ea6320cc521ea410217077cfe2033d2ea","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"tomekwi","email":"t.wiszniewski@gmail.com"},"dist":{"shasum":"82c2d47ea6320cc521ea410217077cfe2033d2ea","size":5629,"noattachment":false,"key":"/array-from/-/array-from-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-from/download/array-from-2.0.1.tgz"},"maintainers":[{"name":"tomekwi","email":"t.wiszniewski@gmail.com"}],"directories":{},"publish_time":1441971897001,"_cnpm_publish_time":1441971897001,"_hasShrinkwrap":false},"2.0.0":{"name":"array-from","version":"2.0.0","description":"A ponyfill for the ES 2015 (ES6) `Array.from()`.","dependencies":{},"scripts":{"coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","coverage":"istanbul cover test.js","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","test":"jshint . && npm run test:lite","test:lite":"node test.js | tap-spec","view-coverage":"echo 'Generating coverage reports...'; npm run coverage >/dev/null && echo '...done.' && xdg-open ./coverage/lcov-report/index.html >/dev/null"},"devDependencies":{"1-liners":"0.2.2","core-js":"^1.0.0","coveralls":"2.11.2","istanbul":"0.3.14","jshint":"2.7.0","lodash.isnative":"^3.0.4","nodangel":"1.3.8","tap-spec":"2.2.2","tape-catch":"1.0.4"},"files":["/*.js","/Readme.md","/License.md"],"license":"MIT","keywords":["Array.from","ponyfill","polyfill","convert","to","array","es-2015","es2015","es6"],"contributors":[{"name":"Tomek Wiszniewski","email":"t.wiszniewski@gmail.com"},{"name":"Benjamin Barber","url":"http://github.com/barberboy"}],"repository":{"type":"git","url":"git+ssh://git@github.com/studio-b12/array-from.git"},"gitHead":"01ee948de4804f1dcee6808b9485878ed9a0812f","bugs":{"url":"https://github.com/studio-b12/array-from/issues"},"homepage":"https://github.com/studio-b12/array-from#readme","_id":"array-from@2.0.0","_shasum":"cc42a7ef80523a03c54906addb65367fdc0beacd","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"tomekwi","email":"t.wiszniewski@gmail.com"},"dist":{"shasum":"cc42a7ef80523a03c54906addb65367fdc0beacd","size":5613,"noattachment":false,"key":"/array-from/-/array-from-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-from/download/array-from-2.0.0.tgz"},"maintainers":[{"name":"tomekwi","email":"t.wiszniewski@gmail.com"}],"directories":{},"publish_time":1441919376984,"_cnpm_publish_time":1441919376984,"_hasShrinkwrap":false},"1.0.0":{"name":"array-from","version":"1.0.0","description":"A ponyfill for the ES 2015 (ES6) `Array.from()`.","dependencies":{},"scripts":{"coveralls":"npm run coverage && cat ./coverage/lcov.info | coveralls","coverage":"istanbul cover test.js","develop":"nodangel --ignore node_modules --ignore coverage --exec 'npm run --silent test:lite'","test":"jshint . && npm run test:lite","test:lite":"node test.js | tap-spec","view-coverage":"echo 'Generating coverage reports...'; npm run coverage >/dev/null && echo '...done.' && xdg-open ./coverage/lcov-report/index.html >/dev/null"},"devDependencies":{"coveralls":"2.11.2","istanbul":"0.3.14","jshint":"2.7.0","nodangel":"1.3.8","tap-spec":"2.2.2","1-liners":"0.2.2","tape-catch":"1.0.4"},"files":["/*.js","/module/","/test/","/Readme.md","/License.md"],"license":"MIT","keywords":["Array.from","ponyfill","polyfill","convert","to","array","es-2015","es2015","es6"],"contributors":[{"name":"Tomek Wiszniewski","email":"t.wiszniewski@gmail.com"}],"repository":{"type":"git","url":"git@github.com:studio-b12/array-from.git"},"gitHead":"8a6691c3258b8b6236e89a7f164d370f2b36430b","bugs":{"url":"https://github.com/studio-b12/array-from/issues"},"homepage":"https://github.com/studio-b12/array-from","_id":"array-from@1.0.0","_shasum":"434790955e3440a119778c10acbc3aa8ccc3b0ce","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tomekwi","email":"t.wiszniewski@gmail.com"},"maintainers":[{"name":"tomekwi","email":"t.wiszniewski@gmail.com"}],"dist":{"shasum":"434790955e3440a119778c10acbc3aa8ccc3b0ce","size":3765,"noattachment":false,"key":"/array-from/-/array-from-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-from/download/array-from-1.0.0.tgz"},"directories":{},"publish_time":1431428662395,"_cnpm_publish_time":1431428662395,"_hasShrinkwrap":false}},"readme":"[![Coveralls – test coverage\n](https://img.shields.io/coveralls/studio-b12/array-from.svg?style=flat-square\n)](https://coveralls.io/r/studio-b12/array-from\n) [![Travis – build status\n](https://img.shields.io/travis/studio-b12/array-from/master.svg?style=flat-square\n)](https://travis-ci.org/studio-b12/array-from\n) [![David – status of dependencies\n](https://img.shields.io/david/studio-b12/array-from.svg?style=flat-square\n)](https://david-dm.org/studio-b12/array-from\n) [![Code style: airbnb\n](https://img.shields.io/badge/code%20style-airbnb-777777.svg?style=flat-square\n)](https://github.com/airbnb/javascript)\n\n\n\n\narray-from\n==========\n\n**A ponyfill for the ES 2015 [`Array.from()`][].**\n\n**&ast; Ponyfill**: A polyfill that doesn't overwrite the native method.  \n**&ast; ES 2015**: The new name for ES6 that [nobody expected][].\n\nModeled after the final ES 2015 spec. Credits for the implementation go to the amazing folks of the MDN and the amazing guy [@barberboy](https://github.com/barberboy).\n\n&nbsp;\n\n[`Array.from()`]:         https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from                  \"Array.from()\"\n[nobody expected]:        http://webreflection.blogspot.de/2015/01/javascript-and-living-ecmascript.html                               \"JavaScript and the living ECMAScript Standard\"\n\n\n\nInstallation\n------------\n\n```sh\n$ npm install array-from\n```\n\n\n\n\nUsage\n-----\n\nRecommended:\n\n```js\nvar arrayFrom = require('array-from');\n  // You’ll get the native `Array.from` if it’s available.\n\nfunction () {console.log(\n  arrayFrom(arguments).map(require('1-liners/increment'))\n);}(1, 2, 3);\n//» [2, 3, 4]\n```\n\nYou can also use it as a classical polyfill. It’s [not recommended][], but sometimes practical:\n\n```js\nif (!Array.from) Array.from = require('array-from');\n  // This will affect all loaded modules.\n\nfunction () {console.log(\n  Array.from(arguments).map(require('1-liners/increment'))\n);}(1, 2, 3);\n//» [2, 3, 4]\n```\n\n[not recommended]:  https://github.com/sindresorhus/object-assign/issues/10#issuecomment-65065859  \"Optionally shim native method?\"\n\n\n\n\nSupport note\n------------\n\nWe support the _current_ and _active LTS_ release of Node.js. More info in [nodejs/LTS](https://github.com/nodejs/LTS#lts_schedule).\n\n\n\n\nLicense\n-------\n\n[MIT][] © [Studio B12 GmbH][]\n\n[MIT]: ./License.md\n[Studio B12 GmbH]: https://github.com/studio-b12\n","_attachments":{},"homepage":"https://github.com/studio-b12/array-from#readme","bugs":{"url":"https://github.com/studio-b12/array-from/issues"},"license":"MIT"}