{"id":22505280,"url":"https://github.com/azer/with-env","last_synced_at":"2025-09-01T19:41:23.519Z","repository":{"id":15385555,"uuid":"18117125","full_name":"azer/with-env","owner":"azer","description":"Read and apply .env file (if exists) in the working directory.","archived":false,"fork":false,"pushed_at":"2017-07-08T04:09:09.000Z","size":183,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T03:09:42.304Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"cloudinary/cloudinary_php","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azer.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":"2014-03-25T21:25:23.000Z","updated_at":"2019-07-11T17:00:57.000Z","dependencies_parsed_at":"2022-08-25T06:20:32.837Z","dependency_job_id":null,"html_url":"https://github.com/azer/with-env","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fwith-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fwith-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fwith-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fwith-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/with-env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228540840,"owners_count":17934031,"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-07T00:17:05.464Z","updated_at":"2024-12-07T00:17:06.060Z","avatar_url":"https://github.com/azer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## with-env\n\nRead and apply .env file (if exists) in the working directory.\n\n## Install\n\n```bash\n$ npm install with-env\n```\n\n## Usage\n\nCreate an `.env` file:\n\n```\nPORT=8080\nAWS_KEY=abcde\nDB=user@foobar.com/corge\n```\n\nAnd call `with-env` on top of your module:\n\n```js\nrequire('with-env')()\n\nconsole.log(process.env.AWS_KEY)\n// =\u003e 'abcde'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fwith-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fwith-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fwith-env/lists"}