Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

hackcode-packages/env-example-generator

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a simple cli script to list down all environment variables being used in project

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.