{"name":"babel-plugin-check-es2015-constants","version":"6.1.6","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.6"},"_id":"babel-plugin-check-es2015-constants@6.1.6","scripts":{},"_shasum":"aa310b45e98c70634bd4b5e1c530d70ee6b94fb6","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.1.0","_npmUser":{"name":"sebmck","email":"sebmck@gmail.com"},"dist":{"shasum":"aa310b45e98c70634bd4b5e1c530d70ee6b94fb6","tarball":"http://registry-npm.ywwl.com/babel-plugin-check-es2015-constants/download/babel-plugin-check-es2015-constants-6.1.6.tgz","integrity":"sha512-Kv1FK+scwVAkZ1nDM23UJZ/UAVCIJsNaKsYkCOq54XpdZar6NvBei7CJ3ruIpf75Kxw6M3sQS0vO769Fy/IzkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb8H5CKg/11C3AzRgqPcLF53OyIRnzCO6nzwR3FoHLPAIhAPmnxYsV7wBHj0eMBb0rAMCgyBYr0h3NJbeYMoynT0ga"}],"size":1699,"noattachment":false,"key":"/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.1.6.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":1447313646129,"_cnpm_publish_time":1447313646129,"dist-tags":{"latest":"6.22.0","next":"7.0.0-beta.3"}}