{"name":"babel-plugin-undefined-to-void","version":"1.1.6","description":"Replace references to `undefined` with `void 0`","repository":{"type":"git","url":"git+https://github.com/babel-plugins/babel-plugin-undefined-to-void.git"},"license":"MIT","main":"lib/index.js","devDependencies":{"babel":"^5.6.0"},"scripts":{"build":"babel-plugin build","push":"babel-plugin publish","test":"babel-plugin test"},"keywords":["babel-plugin"],"gitHead":"51401e40b7c33d88308816b06addd66fafeeb541","bugs":{"url":"https://github.com/babel-plugins/babel-plugin-undefined-to-void/issues"},"homepage":"https://github.com/babel-plugins/babel-plugin-undefined-to-void#readme","_id":"babel-plugin-undefined-to-void@1.1.6","_shasum":"7f578ef8b78dfae6003385d8417a61eda06e2f81","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"sebmck","email":"sebmck@gmail.com"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"}],"dist":{"shasum":"7f578ef8b78dfae6003385d8417a61eda06e2f81","tarball":"http://registry-npm.ywwl.com/babel-plugin-undefined-to-void/download/babel-plugin-undefined-to-void-1.1.6.tgz","integrity":"sha512-YAi+mWX+Al08e6Isbv8g2UigZUoVnZuuF/JFmG5uAZKQ+6EYILBCFmS28BedM7Ts4QbAIpSqwXdMBzej+9tHUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+CtFrsmtcdKnukpEQIiVOmKCWkqLP/0BsitT/TXsdUwIhAMol3bv89X1FDiXYWNW+5LIXsDUxBZO6J1zaC6IxQi6a"}],"size":1056,"noattachment":false,"key":"/babel-plugin-undefined-to-void/-/babel-plugin-undefined-to-void-1.1.6.tgz"},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","readme":"# babel-plugin-undefined-to-void\n\nSome JavaScript implementations allow `undefined` to be overwritten, this\nmay lead to peculiar bugs that are extremely hard to track down.\n\nThis plugin transforms `undefined` into `void 0` which returns `undefined`\nregardless of if it's been reassigned.\n\n## Example\n\n**In**\n\n```javascript\nfoo === undefined;\n```\n\n**Out**\n\n```javascript\nfoo === void 0;\n```\n\n## Installation\n\n```sh\n$ npm install babel-plugin-undefined-to-void\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"undefined-to-void\"]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins undefined-to-void script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"undefined-to-void\"]\n});\n```\n","publish_time":1434380787672,"_cnpm_publish_time":1434380787672,"dist-tags":{"latest":"1.1.6"}}