{"id":22903984,"url":"https://github.com/json2d/envy-loader","last_synced_at":"2026-01-12T05:54:54.126Z","repository":{"id":57226075,"uuid":"94842794","full_name":"json2d/envy-loader","owner":"json2d","description":"dotenv style environment variable file loader module for webpack","archived":false,"fork":false,"pushed_at":"2017-06-20T04:33:34.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T13:44:28.804Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/json2d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-20T02:49:33.000Z","updated_at":"2017-06-20T02:49:42.000Z","dependencies_parsed_at":"2022-08-24T10:40:27.206Z","dependency_job_id":null,"html_url":"https://github.com/json2d/envy-loader","commit_stats":null,"previous_names":["bitstrider/envy-loader"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fenvy-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fenvy-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fenvy-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json2d%2Fenvy-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/json2d","download_url":"https://codeload.github.com/json2d/envy-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285670,"owners_count":20752953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T02:39:40.925Z","updated_at":"2025-10-16T13:19:24.922Z","avatar_url":"https://github.com/json2d.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n\n# envy-loader\n\ndotenv style environment variable file loader module for webpack\n\n## Install\n\n```bash\nnpm install --save-dev envy-loader\n```\n\n## Usage\nSame as with most other webpack loaders:\n\n### Configuration (recommended)\n\n```js\n/* webpack.config.js */\n\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.env$/,\n        use: 'envy-loader'\n      }\n    ]\n  }\n}\n```\n\n```js\nimport env from 'development.env';\n```\n\n### CLI\n\n```bash\nwebpack --module-bind 'env=envy-loader'\n```\n\n### Inline\n\n```js\nimport env from 'envy-loader!production.env';\n```\n\n[npm]: https://img.shields.io/npm/v/envy-loader.svg\n[npm-url]: https://npmjs.com/package/envy-loader\n\n[node]: https://img.shields.io/node/v/envy-loader.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://david-dm.org/bitstrider/envy-loader.svg\n[deps-url]: https://david-dm.org/bitstrider/envy-loader\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjson2d%2Fenvy-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjson2d%2Fenvy-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjson2d%2Fenvy-loader/lists"}