{"name":"babel-plugin-undefined-to-void","version":"1.1.4","description":"Replace references to `undefined` with `void 0`","license":"MIT","main":"lib/index.js","devDependencies":{"babel":"^5.6.0"},"peerDependencies":{"babel":"^5.6.0"},"scripts":{"build":"babel-plugin build","push":"babel-plugin publish","test":"babel-plugin test"},"keywords":["babel-plugin"],"gitHead":"4fcbe6abd266243ef58677a379346407dd7e5914","_id":"babel-plugin-undefined-to-void@1.1.4","_shasum":"9e3f2c052ec2863d7a1a4f54baa4eddf3517b68a","_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":"9e3f2c052ec2863d7a1a4f54baa4eddf3517b68a","tarball":"http://registry-npm.ywwl.com/babel-plugin-undefined-to-void/download/babel-plugin-undefined-to-void-1.1.4.tgz","integrity":"sha512-lCJFD+stCglFYO/9B4EtXmHSCTsoFfpe3hRk7KKmn/gDydQYKOiNDkCxgZQqi4r8tbuReZYF5wAEWt6rHtjmJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7lssM2n1dpc9CQ0bBHS1z8JyNyBzIOdEcG1C12u3H8AiEA4uMQ0ixiSRkXZgrwn9ZKdxjd8EwUJcwcD4L8L+GRxPo="}],"size":1047,"noattachment":false,"key":"/babel-plugin-undefined-to-void/-/babel-plugin-undefined-to-void-1.1.4.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":1434379458907,"_cnpm_publish_time":1434379458907,"dist-tags":{"latest":"1.1.6"}}