{"id":18522263,"url":"https://github.com/poorlydefinedbehaviour/process-env-loader","last_synced_at":"2025-05-14T18:10:30.429Z","repository":{"id":57143262,"uuid":"196133032","full_name":"PoorlyDefinedBehaviour/process-env-loader","owner":"PoorlyDefinedBehaviour","description":"load environment variables into node's process.env","archived":false,"fork":false,"pushed_at":"2019-07-18T20:46:18.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-14T18:09:55.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PoorlyDefinedBehaviour.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-10T04:47:03.000Z","updated_at":"2019-08-14T18:07:59.000Z","dependencies_parsed_at":"2022-09-03T18:01:44.629Z","dependency_job_id":null,"html_url":"https://github.com/PoorlyDefinedBehaviour/process-env-loader","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/PoorlyDefinedBehaviour%2Fprocess-env-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PoorlyDefinedBehaviour%2Fprocess-env-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PoorlyDefinedBehaviour%2Fprocess-env-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PoorlyDefinedBehaviour%2Fprocess-env-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PoorlyDefinedBehaviour","download_url":"https://codeload.github.com/PoorlyDefinedBehaviour/process-env-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198512,"owners_count":22030966,"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-11-06T17:29:40.107Z","updated_at":"2025-05-14T18:10:25.421Z","avatar_url":"https://github.com/PoorlyDefinedBehaviour.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nYet another env loader.\n\n## Installation\n\n\\$ [npm](https://www.npmjs.com) i process-env-loader\n\n## Usage\n\n```js\nimport load from \"process-env-loader\";\nload(); // Loads .env from the root of the directory\n```\n\n```js\nimport load from \"process-env-loader\";\nload(\"mypath/subfolder/\"); // Loads .env from the specified folder\n```\n\n```js\nimport load from \"process-env-loader\";\n/**\n * The key value pairs can be separated by anything,\n * as long as you specify the separator when loading the file.\n * */\nload(\"mypath/subfolder/\", \"-\u003e\"); // Loads .env from the specified folder, using the specified seperator\n```\n\n\n.env could look like one of these\n\n```js\nFOO=BAR\n```\n\n```js\nFOO-\u003eBAR\n```\n\n```js\nFOO,BAR\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoorlydefinedbehaviour%2Fprocess-env-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoorlydefinedbehaviour%2Fprocess-env-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoorlydefinedbehaviour%2Fprocess-env-loader/lists"}