{"id":16003200,"url":"https://github.com/pierredemailly/menvs","last_synced_at":"2025-03-18T02:31:56.978Z","repository":{"id":199796337,"uuid":"703773738","full_name":"PierreDemailly/menvs","owner":"PierreDemailly","description":"Manage .env across projects","archived":false,"fork":false,"pushed_at":"2024-09-01T04:55:17.000Z","size":241,"stargazers_count":6,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T16:23:26.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/PierreDemailly.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2023-10-11T22:22:58.000Z","updated_at":"2024-06-05T16:22:57.000Z","dependencies_parsed_at":"2023-10-12T13:45:00.639Z","dependency_job_id":"2a278bcc-0d01-41d1-9ca3-c6f2809723d2","html_url":"https://github.com/PierreDemailly/menvs","commit_stats":null,"previous_names":["pierredemailly/menvs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreDemailly%2Fmenvs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreDemailly%2Fmenvs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreDemailly%2Fmenvs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierreDemailly%2Fmenvs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PierreDemailly","download_url":"https://codeload.github.com/PierreDemailly/menvs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244144082,"owners_count":20405336,"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-10-08T10:06:40.845Z","updated_at":"2025-03-18T02:31:56.690Z","avatar_url":"https://github.com/PierreDemailly.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# menvs\n\n![version](https://img.shields.io/badge/dynamic/json.svg?style=for-the-badge\u0026url=https://raw.githubusercontent.com/PierreDemailly/menvs/main/package.json\u0026query=$.version\u0026label=Version)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg?style=for-the-badge)](https://github.com/PierreDemailly/menvs/commit-activity)\n[![mit](https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge)](https://github.com/PierreDemailly/menvs/blob/main/LICENSE)\n![build](https://img.shields.io/github/actions/workflow/status/PierreDemailly/menvs/node.js.yml?style=for-the-badge)\n\nManage .env across projects\n\n## Requirements\n- [Node.js](https://nodejs.org/en/) v18 or higher\n\n## Getting Started\n\nThis package is available in the Node Package Repository and can be easily installed with [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```bash\n$ npm i -g menvs\n```\n\nOr use [npx](https://docs.npmjs.com/cli/v7/commands/npx).\n\n```bash\n$ npx menvs \u003ccommand\u003e\n```\n\n## Usage exemple\n\n```bash\n# save existing .env from project\n$ cd path/to/project\n$ menvs save\n# reuse .env in another project\n$ cd path/to/other/project\n$ menvs pick\n```\n\n\u003cimg src=\"./public/usage-screenshot.png\" width=\"500\" alt=\"usage screenshot\"\u003e\n\n## Features\n\n- Manage `.env` files across projects.\n- Full interactive.\n- Mark variables as **confidential** when includes `password` or `secret` (case insensitive) (i.e `DATABASE_PASSWORD` or `JWT_SECRET`).\n- When updating config, allow to update all linked project `.env` files.\n\n## CLI\n\n| command | short | description |\n| --- | --- | --- |\n| save | s | Save a new configuration from an existing `.env`\n| pick | p | Generate a `.env` from an existing configuration\n| list | l | List available configurations\n| delete | d | Delete a configuration\n| show | sh | Show configuration key-values\n| update | u | Update configuration (key / value )\n\n## Contributors ✨\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=for-the-badge)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/PierreDemailly\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/39910767?v=4?s=100\" width=\"100px;\" alt=\"PierreDemailly\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePierreDemailly\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/PierreDemailly/menvs/commits?author=PierreDemailly\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierredemailly%2Fmenvs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierredemailly%2Fmenvs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierredemailly%2Fmenvs/lists"}