{"name":"babel-plugin-check-es2015-constants","version":"6.1.12","description":"Compile ES2015 constants to ES5","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-check-es2015-constants"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-runtime":"^5.0.0"},"devDependencies":{"babel-helper-plugin-test-runner":"^6.1.12"},"_id":"babel-plugin-check-es2015-constants@6.1.12","scripts":{},"_shasum":"cf897ff4fd9c75d9ffed6c3395b160ec837eb11d","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.1.0","_npmUser":{"name":"sebmck","email":"sebmck@gmail.com"},"dist":{"shasum":"cf897ff4fd9c75d9ffed6c3395b160ec837eb11d","tarball":"http://registry-npm.ywwl.com/babel-plugin-check-es2015-constants/download/babel-plugin-check-es2015-constants-6.1.12.tgz","integrity":"sha512-LL1bncUoBhT4X6DQQ4IdthZInIe9yoKGWFRnOtvP3Q73HAPee4BEgsJV+6B7K2xqZc9H3i+sKqIa/u1xR9mIRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNxNvabz/zPYrWCZ2/xJryZl5phO95X2JFhmzDNyUoKAiAQqQHpI4acprTgN7B1JChkHxM9adQWYmaB/UV6PnXJqA=="}],"size":1703,"noattachment":false,"key":"/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.1.12.tgz"},"maintainers":[{"name":"amasad","email":"amjad.masad@gmail.com"},{"name":"sebmck","email":"sebmck@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"readme":"# babel-plugin-check-es2015-constants\n\nValidate ES2015 constants\n\n## Installation\n\n```sh\n$ npm install babel-plugin-check-es2015-constants\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"check-es2015-constants\"]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins check-es2015-constants script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"check-es2015-constants\"]\n});\n```\n\n## Note\n\nThis check will only validate consts. If you need it to compile down to `var` then you must also install and enable [`check-es2015-block-scoping`](../babel-plugin-check-es2015-block-scoping).\n","publish_time":1447318228653,"_cnpm_publish_time":1447318228653,"dist-tags":{"latest":"6.22.0","next":"7.0.0-beta.3"}}