{"name":"babel-plugin-transform-inline-environment-variables","version":"0.3.0-alpha.e6a189cd","description":"Inline environment variables.","keywords":["babel-plugin"],"homepage":"https://github.com/babel/minify#readme","bugs":{"url":"https://github.com/babel/minify/issues"},"license":"MIT","author":{"name":"amasad"},"main":"lib/index.js","repository":{"type":"git","url":"https://github.com/babel/minify/tree/master/packages/babel-plugin-transform-inline-environment-variables"},"_id":"babel-plugin-transform-inline-environment-variables@0.3.0-alpha.e6a189cd","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"babeljs","email":"asciiguyfieri@gmail.com"},"dist":{"integrity":"sha512-OxgI+qMaiaZvSPXkieaIg2caroSNYJTPF5oWAELXFrjakUb88fdde013ovN1Qa5qVpQNonQfDlA5Ih//70D9sw==","shasum":"cf8c16a78843dcf9891ed9bd9c6b9cecb5809a62","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-inline-environment-variables/download/babel-plugin-transform-inline-environment-variables-0.3.0-alpha.e6a189cd.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4BDMhsG9ssLp4dr98mI2eSzJaw4QFuUhcWXnb0fIqbAiEAwYNoeB0pg4Pj/u47293xk0OFbFR8B7+nKncBGS5ZlMQ="}],"size":1047,"noattachment":false,"key":"/babel-plugin-transform-inline-environment-variables/-/babel-plugin-transform-inline-environment-variables-0.3.0-alpha.e6a189cd.tgz"},"maintainers":[{"email":"asciiguyfieri@gmail.com","name":"babeljs"},{"email":"loganfsmyth@gmail.com","name":"loganfsmyth"},{"email":"vignesh.shanmugam22@gmail.com","name":"vignesh.shanmugam"},{"email":"hi@henryzoo.com","name":"hzoo"},{"email":"me@boopathi.in","name":"boopathi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-inline-environment-variables-0.3.0-alpha.e6a189cd.tgz_1513712126496_0.2430593748576939"},"directories":{},"readme":"# babel-plugin-transform-inline-environment-variables\n\nInline environment variables\n\n## Example\n\n### In\n\n```js\n// assuming process.env.NODE_ENV is actually \"development\"\nprocess.env.NODE_ENV;\n```\n\n### Out\n\n```js\n\"development\";\n```\n\n## Installation\n\n```sh\nnpm install babel-plugin-transform-inline-environment-variables --save-dev\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n// without options\n{\n  \"plugins\": [\"transform-inline-environment-variables\"]\n}\n\n// with options\n{\n  \"plugins\": [\n    [\"transform-inline-environment-variables\", {\n      \"include\": [\n        \"NODE_ENV\"\n      ]\n    }]\n  ]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-inline-environment-variables script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"@babel/core\").transform(\"code\", {\n  plugins: [\"transform-inline-environment-variables\"]\n});\n```\n\n## Options\n\n+ `include` - array of environment variables to include\n+ `exclude` - array of environment variables to exclude\n","publish_time":1513712127374,"_cnpm_publish_time":1513712127374,"dist-tags":{"canary":"0.5.0-alpha.42","latest":"0.4.4"}}