{"_id":"babel-plugin-constant-folding","_rev":"5-df0a582763c82267370e120b0b5147fd","name":"babel-plugin-constant-folding","description":"Compile static constants (ie. code that we can statically determine to be constant at runtime)","dist-tags":{"latest":"1.0.1"},"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":"https://registry.npmjs.org/babel-plugin-constant-folding/-/babel-plugin-constant-folding-1.0.1.tgz","integrity":"sha512-Rvhz9+o8/Bbqq6qTCO7FUPYxhrzqd/XkIY482DdYrXpFbhhqDu/xZZUd5/vYHV3oEE1poW+M10pjRZELDepwyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJfrJZ0KwCIdD7DfK942ubUnt2YECnNGgBedhCrXpQ9AiAusbgejaW+wZHbB03UBSCRzInzKgnO8EI9FLBTh40Lkg=="}]},"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"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","maintainers":[{"email":"support@npmjs.com","name":"npm-support"}],"time":{"modified":"2024-04-16T05:15:27.809Z","created":"2015-06-15T15:25:03.275Z","1.0.1":"2015-06-15T15:25:03.275Z"},"homepage":"https://github.com/babel-plugins/babel-plugin-constant-folding#readme","keywords":["babel-plugin"],"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","readmeFilename":"README.md"}