{"_id":"@59naga/babel-plugin-transform-array-from","_rev":"3-55a15a462cc72d8ad8a1668bc7f30b15","name":"@59naga/babel-plugin-transform-array-from","description":"replace `Array.from` with an ponyfill function","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@59naga/babel-plugin-transform-array-from","version":"0.0.0","description":"replace `Array.from` with an ponyfill function","main":"lib","files":["lib"],"dependencies":{"@59naga/array.from":"^2.0.2","babel-template":"^6.7.0"},"scripts":{"start":"abby compile, watch:*","watch:raw":"abby mocha --log --watch","watch:src":"babel src --out-dir lib --watch","watch:test":"babel test --out-dir spec --watch","compile":"babel -V && babel src --out-dir lib && babel test --out-dir spec","test":"abby compile, mocha","mocha":"mocha 'spec/**/*.js'","cover":"abby cover:* --parse serial","cover:test":"nyc --reporter=lcov --reporter=text abby mocha","cover:report":"npm-if TRAVIS \"codeclimate-test-reporter < coverage/lcov.info\"","build":"abby \"babel -V && babel src --out-dir lib --source-maps\" --env"},"nyc":{"exclude":["spec"]},"abigail":{"plugins":{"log":false,"parse":{"raw":true},"watch":{"enable":false,"value":["lib/**/*.js","spec/**/*.js"]}}},"devDependencies":{"abigail":"^1.6.1","babel-cli":"^6.6.5","babel-core":"^6.7.6","babel-eslint":"^6.0.2","babel-plugin-add-module-exports":"^0.1.2","babel-plugin-espower":"^2.1.2","babel-plugin-transform-object-assign":"^6.5.0","babel-preset-es2015":"^6.6.0","babel-preset-stage-1":"^6.5.0","babel-register":"^6.7.2","chokidar":"^1.4.3","codeclimate-test-reporter":"^0.3.1","eslint":"^2.6.0","eslint-config-airbnb":"^7.0.0","mocha":"^2.4.5","npm-statement":"^0.0.0","nyc":"^6.1.1","power-assert":"^1.3.1"},"directories":{"test":"test"},"keywords":["babel-plugin","Array.from","polyfill","ponyfill"],"repository":{"type":"git","url":"git+https://github.com/59naga/babel-plugin-transform-array-from.git"},"author":{"name":"59naga","email":"i59naga@icloud.com","url":"http://berabou.me/"},"license":"MIT","bugs":{"url":"https://github.com/59naga/babel-plugin-transform-array-from/issues"},"homepage":"https://github.com/59naga/babel-plugin-transform-array-from#readme","gitHead":"51a317ce94040db64d8cde6e78414d41c0087dc6","_id":"@59naga/babel-plugin-transform-array-from@0.0.0","_shasum":"cf5d4b0045f6b3dd31297b997a414dbdaa697b2d","_from":".","_npmVersion":"2.15.0","_nodeVersion":"0.12.13","_npmUser":{"name":"59naga","email":"i59naga@icloud.com"},"dist":{"shasum":"cf5d4b0045f6b3dd31297b997a414dbdaa697b2d","tarball":"https://registry.npmjs.org/@59naga/babel-plugin-transform-array-from/-/babel-plugin-transform-array-from-0.0.0.tgz","integrity":"sha512-zRxT32YRggGTJpTgPUkwwgY2cOIBBzxiXPFz5WwmuDSR5vGJ+2Y8+FywMWG01LUsdlF4K0CleXiQHnl3pXRp8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEW0XxbWtqo+gBt1mYlO2OLnte3f1ybuivcVl6NkdHqgAiA40LXWDY5VgmXMsuNPIfU1Dl9FRD7N6wHQSZSl8Vpv4Q=="}]},"maintainers":[{"name":"59naga","email":"i59naga@icloud.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-array-from-0.0.0.tgz_1460560374760_0.1588890932034701"}}},"readme":"babel-plugin-transform-array-from\n---\n\n<p align=\"right\">\n  <a href=\"https://npmjs.org/package/@59naga/babel-plugin-transform-array-from\">\n    <img src=\"https://img.shields.io/npm/v/@59naga/babel-plugin-transform-array-from.svg?style=flat-square\">\n  </a>\n  <a href=\"https://travis-ci.org/59naga/@59naga/babel-plugin-transform-array-from\">\n    <img src=\"http://img.shields.io/travis/59naga/@59naga/babel-plugin-transform-array-from.svg?style=flat-square\">\n  </a>\n  <a href=\"https://codeclimate.com/github/59naga/@59naga/babel-plugin-transform-array-from/coverage\">\n    <img src=\"https://img.shields.io/codeclimate/github/59naga/@59naga/babel-plugin-transform-array-from.svg?style=flat-square\">\n  </a>\n  <a href=\"https://codeclimate.com/github/59naga/@59naga/babel-plugin-transform-array-from\">\n    <img src=\"https://img.shields.io/codeclimate/coverage/github/59naga/@59naga/babel-plugin-transform-array-from.svg?style=flat-square\">\n  </a>\n  <a href=\"https://gemnasium.com/59naga/@59naga/babel-plugin-transform-array-from\">\n    <img src=\"https://img.shields.io/gemnasium/59naga/@59naga/babel-plugin-transform-array-from.svg?style=flat-square\">\n  </a>\n</p>\n\nReplace `Array.from` with an [ponyfill function](https://github.com/59naga/array-from).\n\nInstallation\n---\n```bash\nnpm install @59naga/babel-plugin-transform-array-from --save\n```\n\nExample\n---\n\n**In**\n\n```js\nArray.from('👺');\n```\n\n**Out**\n\n```js\nvar _arrayFrom = Array.from || function(){...};\n_arrayFrom('👺');\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"@59naga/babel-plugin-transform-array-from\"]\n}\n```\n\n### Via CLI\n\n```bash\n$ babel --plugins @59naga/babel-plugin-transform-array-from script.js\n```\n\n### Via Node API\n\n```js\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"@59naga/babel-plugin-transform-array-from\"]\n});\n```\n\nDevelopment\n---\nRequirement global\n* NodeJS v0.12.13\n* Npm v3.7.1\n\n```bash\ngit clone https://github.com/59naga/@59naga/babel-plugin-transform-array-from\ncd @59naga/babel-plugin-transform-array-from\nnpm install\n\nnpm test\n```\n\nLicense\n---\n[MIT](http://59naga.mit-license.org/)\n","maintainers":[{"name":"59naga","email":"i59naga@icloud.com"}],"time":{"modified":"2022-06-12T14:11:26.774Z","created":"2016-04-13T15:12:57.382Z","0.0.0":"2016-04-13T15:12:57.382Z"},"homepage":"https://github.com/59naga/babel-plugin-transform-array-from#readme","keywords":["babel-plugin","Array.from","polyfill","ponyfill"],"repository":{"type":"git","url":"git+https://github.com/59naga/babel-plugin-transform-array-from.git"},"author":{"name":"59naga","email":"i59naga@icloud.com","url":"http://berabou.me/"},"bugs":{"url":"https://github.com/59naga/babel-plugin-transform-array-from/issues"},"license":"MIT","readmeFilename":"README.md"}