{"name":"babel-plugin-undefined-to-void","version":"1.1.3","description":"Some JavaScript implementations allow `undefined` to be overwritten, this may lead to peculiar bugs that are extremely hard to track down.","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":"c5d64faf4758a93b60540b0358a737dba6754092","_id":"babel-plugin-undefined-to-void@1.1.3","_shasum":"5fb48e965a25cc1ff34781c9f4177e2382a691ce","_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":"5fb48e965a25cc1ff34781c9f4177e2382a691ce","tarball":"http://registry-npm.ywwl.com/babel-plugin-undefined-to-void/download/babel-plugin-undefined-to-void-1.1.3.tgz","integrity":"sha512-lgTNd31m30Wtj8LPps0eW2ygwORVhOt66NNrZ2XHywG+FwrJBWkFjgi4WTGrlCyOfah+oRrXL6fBhIx4r9qc8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRRxPuCkKnVPjI2Jk+GAeGp/UnZl1+azWnVZE/+5hxowIhANZjrumnSB55Yp0RO18RHA0rhsJTdCFrYK9YerIeoawt"}],"size":1026,"noattachment":false,"key":"/babel-plugin-undefined-to-void/-/babel-plugin-undefined-to-void-1.1.3.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":1434379414622,"_cnpm_publish_time":1434379414622,"dist-tags":{"latest":"1.1.6"}}