{"_id":"@59naga/array.from","_rev":"3-dab2e6348edd5c5c154cd3eaf601c765","name":"@59naga/array.from","description":"A ponyfill for the ES 2015 (ES6) `Array.from()`.","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.2":{"name":"@59naga/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":"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+https://github.com/59naga/array-from.git"},"gitHead":"77e37c26099a12ae1d45946bc2557028fa2bd18f","bugs":{"url":"https://github.com/59naga/array-from/issues"},"homepage":"https://github.com/59naga/array-from#readme","_id":"@59naga/array.from@2.0.2","_shasum":"e3649539b6b617eedeec953cdc21eb659bc9fb4b","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.0","_npmUser":{"name":"59naga","email":"i59naga@icloud.com"},"dist":{"shasum":"e3649539b6b617eedeec953cdc21eb659bc9fb4b","tarball":"https://registry.npmjs.org/@59naga/array.from/-/array.from-2.0.2.tgz","integrity":"sha512-woxlX+W2M1ggg683OrbGiJizuVBO3krBZax+sRcCIFNPS/io3QPCffMUX0QXY5J44u7NvZrRzPXdgRGPpf4Ecw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIXnE64t84mnKPdh0R6HqcDYK2h4UvbJyoUpogwgg/wgIhAJjTZM5Xnxy7mV2Iwfj+tJM4qaWG7T0Gwma3SYSJ+Df5"}]},"maintainers":[{"name":"59naga","email":"i59naga@icloud.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/array.from-2.0.2.tgz_1460134585233_0.9710931987501681"}}},"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-blue.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\nLicense\n-------\n\n[MIT][] © [Studio B12 GmbH][]\n\n[MIT]: ./License.md\n[Studio B12 GmbH]: https://github.com/studio-b12\n","maintainers":[{"name":"59naga","email":"i59naga@icloud.com"}],"time":{"modified":"2022-06-12T14:11:25.855Z","created":"2016-04-08T16:56:25.790Z","2.0.2":"2016-04-08T16:56:25.790Z"},"homepage":"https://github.com/59naga/array-from#readme","keywords":["Array.from","ponyfill","polyfill","convert","to","array","es-2015","es2015","es6"],"repository":{"type":"git","url":"git+https://github.com/59naga/array-from.git"},"contributors":[{"name":"Tomek Wiszniewski","email":"t.wiszniewski@gmail.com"},{"name":"Benjamin Barber","url":"http://github.com/barberboy"}],"bugs":{"url":"https://github.com/59naga/array-from/issues"},"license":"MIT","readmeFilename":"Readme.md"}