{"name":"babel-plugin-transform-inline-environment-variables","version":"0.4.0-alpha.4b14df35","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"},"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\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","readmeFilename":"README.md","_id":"babel-plugin-transform-inline-environment-variables@0.4.0-alpha.4b14df35","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"babeljs","email":"asciiguyfieri@gmail.com"},"dist":{"integrity":"sha512-S9yLu5QzqDHXdKp71Z1Hcwiv2RDzOBy/W0QdZ9WOmVoDfLxZqBmIBDpVcsH9ZBQIDptXbbgioZadlDLFTvBaAQ==","shasum":"bed5d51e2290d383176b628cc014b8642bd179b8","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-inline-environment-variables/download/babel-plugin-transform-inline-environment-variables-0.4.0-alpha.4b14df35.tgz","fileCount":3,"unpackedSize":2197,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqpHU0TrIQKsT+MMIcvby+ZzEczLCFwvAWmpxfW3ZUpAiAlNk5r1F4B5JjR88If8B6wqADdkNEn+9l1RdpWRSTLpw=="}],"size":1048,"noattachment":false,"key":"/babel-plugin-transform-inline-environment-variables/-/babel-plugin-transform-inline-environment-variables-0.4.0-alpha.4b14df35.tgz"},"maintainers":[{"email":"asciiguyfieri@gmail.com","name":"babeljs"},{"email":"me@boopathi.in","name":"boopathi"},{"email":"hi@henryzoo.com","name":"hzoo"},{"email":"loganfsmyth@gmail.com","name":"loganfsmyth"},{"email":"vignesh.shanmugam22@gmail.com","name":"vignesh.shanmugam"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-inline-environment-variables_0.4.0-alpha.4b14df35_1519187385909_0.22299855651429534"},"_hasShrinkwrap":false,"publish_time":1519187385959,"_cnpm_publish_time":1519187385959,"dist-tags":{"canary":"0.5.0-alpha.42","latest":"0.4.4"}}