@hackcode/env-example-generator

1.0.1 • Public • Published

env example generator


Ever wanted to try out someone's project and kept figuring out all the environment variables that were needed ? Or you are just too lazy to document the same in your own project ? Worry not !

This is a simple npm package that will read through the entire codebase (don't worry, only javascript and typescript files) of your project, and create a .env.example file with all the environment configurations that are used in the code.


Usage

# install the package using
sudo npm i -g @hackcode/env-example-generator

# run the cli from the project root
generate-env

# An .env.example file would be created

Package Sidebar

Install

npm i @hackcode/env-example-generator

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

9.18 kB

Total Files

8

Last publish

Collaborators

  • yashkumarverma