{"name":"babel-plugin-undefined-to-void","version":"1.1.5","description":"Replace references to `undefined` with `void 0`","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":"6d85cec8517e0d76abfa25734b7d2bba5a412f92","_id":"babel-plugin-undefined-to-void@1.1.5","_shasum":"8f7e7eeda1f772c6e3e583ab56610e313dd11f1f","_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":"8f7e7eeda1f772c6e3e583ab56610e313dd11f1f","tarball":"http://registry-npm.ywwl.com/babel-plugin-undefined-to-void/download/babel-plugin-undefined-to-void-1.1.5.tgz","integrity":"sha512-FjkiaIqwlSgIS9Ovl4cU5ZWD2sWTpmavBO1I1s64gVdJbwk8Jxn3FxuOgSVyqzqWjDtE5CjEX7JkvQ29T1RN1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbax+30kuvukpbXFKsZHNLyovkwW9KLOiCzTH+dRKhwQIhALIqJHZA/E/l2xPWKVhK2YaBt4HhicWIoMUPLxkhjZRd"}],"size":1040,"noattachment":false,"key":"/babel-plugin-undefined-to-void/-/babel-plugin-undefined-to-void-1.1.5.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":1434379716786,"_cnpm_publish_time":1434379716786,"dist-tags":{"latest":"1.1.6"}}