{"name":"babel-plugin-check-es2015-constants","version":"6.1.18","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.18"},"_id":"babel-plugin-check-es2015-constants@6.1.18","scripts":{},"_shasum":"51ab98a51d88e9769b8f97721b8b4f997d7df25b","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.1.0","_npmUser":{"name":"sebmck","email":"sebmck@gmail.com"},"dist":{"shasum":"51ab98a51d88e9769b8f97721b8b4f997d7df25b","tarball":"http://registry-npm.ywwl.com/babel-plugin-check-es2015-constants/download/babel-plugin-check-es2015-constants-6.1.18.tgz","integrity":"sha512-mUGWlcaCYZisy5EEEeRfUvatoLvRxroDX4DsejV7OR5V7vKFW6W6Bsp6eL8+y4AVLVonFLnnLs0VYM/KwB5z5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHkBqkICLm1HTCsFr/anInrUF1iq1nM2N1+9MpfKfAZAIgKrvAJHrNLukXha6vYOcRaBygPiAonFhzEjcYmkY5oGs="}],"size":1712,"noattachment":false,"key":"/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.1.18.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":1447364865658,"_cnpm_publish_time":1447364865658,"dist-tags":{"latest":"6.22.0","next":"7.0.0-beta.3"}}