{"name":"babel-plugin-transform-es2015-constants","version":"6.0.2","description":"Compile ES2015 constants to ES5","repository":{"type":"git","url":"git+https://github.com/babel/babel.git"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-runtime":"^6.0.2"},"bugs":{"url":"https://github.com/babel/babel/issues"},"homepage":"https://github.com/babel/babel#readme","_id":"babel-plugin-transform-es2015-constants@6.0.2","scripts":{},"_shasum":"7c1362620ce770840c3f8542fc0e83ad5fefff9c","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"sebmck","email":"sebmck@gmail.com"},"dist":{"shasum":"7c1362620ce770840c3f8542fc0e83ad5fefff9c","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-es2015-constants/download/babel-plugin-transform-es2015-constants-6.0.2.tgz","integrity":"sha512-SJztJ9vFRSAE0HyvYwhnszKrLtAr56bhSYqjf7UA/QullXoEwbOe8FIKKnauzhBZ0rcSQmbCOeRvpTZeDjtO7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJRJ/ceEBceLAF20DaO4BcM1UE+/+QxWNERxtUE9VoAAiAR2oGk5B0+zZ2ds/xbMXf8rpDk1DQgYnvyoGzn7xGuuQ=="}],"size":1828,"noattachment":false,"key":"/babel-plugin-transform-es2015-constants/-/babel-plugin-transform-es2015-constants-6.0.2.tgz"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","readme":"# babel-plugin-transform-es2015-constants\n\nCompile ES2015 constants to ES5\n\n## Installation\n\n```sh\n$ npm install babel-plugin-transform-es2015-constants\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-es2015-constants\"]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins transform-es2015-constants script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"transform-es2015-constants\"]\n});\n```\n\n## Note\n\nThis transform on its own will compile `const` to `let`. If you need it to compile down to `var` then you must also install and enable [`transform-es2015-block-scoping`](../babel-plugin-transform-es2015-block-scoping).\n","publish_time":1446142430515,"_cnpm_publish_time":1446142430515,"dist-tags":{"latest":"6.1.4"}}