{"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"}],"keywords":["babel-plugin"],"dist-tags":{"latest":"1.0.1"},"description":"Compile static constants (ie. code that we can statically determine to be constant at runtime)","readme":"# babel-plugin-constant-folding\n\nCompile static constants (ie. code that we can statically determine to be constant at runtime)\n\n## Installation\n\n```sh\n$ npm install babel-plugin-constant-folding\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"constant-folding\"]\n}\n```\n\n### Via CLI\n\n```sh\n$ babel --plugins constant-folding script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"constant-folding\"]\n});\n```\n","repository":{"type":"git","url":"git+https://github.com/babel-plugins/babel-plugin-constant-folding.git"},"bugs":{"url":"https://github.com/babel-plugins/babel-plugin-constant-folding/issues"},"license":"MIT","versions":{"1.0.1":{"name":"babel-plugin-constant-folding","version":"1.0.1","description":"Compile static constants (ie. code that we can statically determine to be constant at runtime)","repository":{"type":"git","url":"git+https://github.com/babel-plugins/babel-plugin-constant-folding.git"},"license":"MIT","main":"lib/index.js","devDependencies":{"babel":"^5.6.0"},"scripts":{"build":"babel-plugin build","push":"babel-plugin publish","test":"babel-plugin test"},"keywords":["babel-plugin"],"gitHead":"13140f3f8cb59e6faddb68c9170e86faff85febf","bugs":{"url":"https://github.com/babel-plugins/babel-plugin-constant-folding/issues"},"homepage":"https://github.com/babel-plugins/babel-plugin-constant-folding#readme","_id":"babel-plugin-constant-folding@1.0.1","_shasum":"8361d364c98e449c3692bdba51eff0844290aa8e","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.0","_npmUser":{"name":"sebmck","email":"sebmck@gmail.com"},"maintainers":[{"name":"sebmck","email":"sebmck@gmail.com"}],"dist":{"shasum":"8361d364c98e449c3692bdba51eff0844290aa8e","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/babel-plugin-constant-folding/-/babel-plugin-constant-folding-1.0.1.tgz"},"directories":{}}},"name":"babel-plugin-constant-folding","time":{"modified":"2015-06-15T15:25:03.275Z","created":"2015-06-15T15:25:03.275Z","1.0.1":"2015-06-15T15:25:03.275Z"},"readmeFilename":"README.md","homepage":"https://github.com/babel-plugins/babel-plugin-constant-folding#readme"}