{"name":"babel-plugin-check-es2015-constants","version":"6.1.7","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.7"},"_id":"babel-plugin-check-es2015-constants@6.1.7","scripts":{},"_shasum":"397cff9c63bcf723336c496170a51431696c12bc","_from":".","_npmVersion":"3.3.10","_nodeVersion":"4.1.0","_npmUser":{"name":"sebmck","email":"sebmck@gmail.com"},"dist":{"shasum":"397cff9c63bcf723336c496170a51431696c12bc","tarball":"http://registry-npm.ywwl.com/babel-plugin-check-es2015-constants/download/babel-plugin-check-es2015-constants-6.1.7.tgz","integrity":"sha512-mfkmWT0Pozf3a5TzvAdNNxx6m3kje/5J8ZnazeMzsAO2lCpvyHHoBBuCx/MUbGkTgUxHwIGRs78HjKT8Krs7AA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvZOZL6jTAspyGCq6nrgF4Ik2YmRzPGLqrBynCAbPs/gIhAKEed55D54jd1row1cgfOQvE3+gtlUmCcxpIuSK9c/EK"}],"size":1701,"noattachment":false,"key":"/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.1.7.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":1447313911573,"_cnpm_publish_time":1447313911573,"dist-tags":{"latest":"6.22.0","next":"7.0.0-beta.3"}}