{"id":25268665,"url":"https://github.com/tamdilip/env-gen","last_synced_at":"2026-05-02T03:31:43.468Z","repository":{"id":162654618,"uuid":"489643329","full_name":"tamdilip/env-gen","owner":"tamdilip","description":"Minimal node utility to scan all process.env references in a node project","archived":false,"fork":false,"pushed_at":"2023-06-23T20:01:13.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T05:38:57.291Z","etag":null,"topics":["cli","dotenv","environment-variables","nodejs","npx","utility"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/env-gen","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/tamdilip.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-07T10:33:49.000Z","updated_at":"2023-06-24T11:42:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"a76cc592-8439-4d80-a870-6de47892f3a3","html_url":"https://github.com/tamdilip/env-gen","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tamdilip/env-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fenv-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fenv-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fenv-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fenv-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tamdilip","download_url":"https://codeload.github.com/tamdilip/env-gen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fenv-gen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","dotenv","environment-variables","nodejs","npx","utility"],"created_at":"2025-02-12T10:32:03.140Z","updated_at":"2026-05-02T03:31:43.336Z","avatar_url":"https://github.com/tamdilip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# env-gen [![Node.js Package](https://github.com/tamdilip/env-gen/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/tamdilip/env-gen/actions/workflows/npm-publish.yml)\n\n`.env` file generator by extracting all environment variables referenced in node js project through `process.env.*`\n\n# usage\n```bash\n$ cd \u003cnode app path to scan\u003e\n$ npx env-gen\n```\n\n## Optional\n### Silent mode\nAppend `--silent` to the main command `npx env-gen` to simply scan and generate `.env` file without prompting any inputs and displaying log traces.\n\n```bash\n$ npx env-gen --silent\n```\n\n### Path exclusion\nPlace `env-gen-config.js` under the same path from where you are executing `npx env-gen` to exclude paths from scanning in the below format.\n\n```javascript\nmodule.exports = { \n    exclude: ['/node_modules', '/coverage'] //default\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamdilip%2Fenv-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftamdilip%2Fenv-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamdilip%2Fenv-gen/lists"}