Gathering detailed insights and metrics for @nielse63/copy-env
Gathering detailed insights and metrics for @nielse63/copy-env
npm install @nielse63/copy-env
Typescript
Module System
Min. Node Version
Node Version
NPM Version
70.7
Supply Chain
92.3
Quality
75.8
Maintenance
100
Vulnerability
100
License
TypeScript (80.17%)
JavaScript (17.92%)
Shell (1.91%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
1,294
Last Day
1
Last Week
2
Last Month
34
Last Year
208
MIT License
3 Stars
162 Commits
2 Watchers
4 Branches
2 Contributors
Updated on Feb 18, 2025
Latest Version
1.1.0
Package Id
@nielse63/copy-env@1.1.0
Unpacked Size
18.65 kB
Size
5.27 kB
File Count
12
NPM Version
10.2.3
Node Version
18.19.0
Published on
Jan 31, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-77.8%
2
Compared to previous week
Last Month
142.9%
34
Compared to previous month
Last Year
-66.5%
208
Compared to previous year
1
25
Automate managing example .env files
Oftentimes, you'll want to be able to share and check in your .env
files with your team or to remember which environment variables are necessary for your project. copy-env
automatically copies your .env
file, removes the secret values, and saves it to an .env.sample
file.
Install the package globally to use the CLI:
1npm i -g @nielse63/copy-env
Or install it in your project for scoped CLI usage, and to use the API:
1npm i -D @nielse63/copy-env
Install the package and simply run copy-env
from the command line:
1$ copy-env --help 2Usage: copy-env [options] 3 4Automate managing example .env files 5 6Options: 7 --cwd <string> Current working directory (default: ".") 8 --src <string> Source file to read from (default: ".env") 9 --dest <string> File to write to (default: ".env.sample") 10 --ignore-regex <string> Regex string of what to omit from output (default: "^#") 11 --git-add Stage the output file after update (default: false) 12 -V, --version output the version number 13 -h, --help display help for command
See the view API on GitHub Pages.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b scratch/my-feature
)git commit -m 'added new feature'
)git push origin scratch/my-feature
)Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/nielse63/copy-env
No vulnerabilities found.
No security vulnerabilities found.