{"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":"https://github.com/babel-plugins/babel-plugin-constant-folding"},"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"],"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","readmeFilename":"README.md","bugs":{"url":"https://github.com/babel-plugins/babel-plugin-constant-folding/issues"},"homepage":"https://github.com/babel-plugins/babel-plugin-constant-folding","_id":"babel-plugin-constant-folding@1.0.1","_shasum":"8361d364c98e449c3692bdba51eff0844290aa8e","_from":"https://registry.npmjs.org/babel-plugin-constant-folding/-/babel-plugin-constant-folding-1.0.1.tgz","_resolved":"https://registry.npmjs.org/babel-plugin-constant-folding/-/babel-plugin-constant-folding-1.0.1.tgz"}