Skip to content

jebarpg/node-sample-env-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-sample-env-generator

Creates a .sample-env file with all the entries from your .env file without the information after the = sign using NodeJS. Comments are preserved. The .sample.env file is made to be a safe file to commit to your git repo.

Install

npm install sample-env-generator --save-dev

Usage

Default

node sample-env-generator

Looks for a .env file inside the directory you run the command from and creates a .sample.env version of the file.

Custom file

node sample-env-generator -f .env.production

Looks for a .env.production file inside the directory you run the command from and creates a .sample.env.production version of the file.

About

Creates a .sample-env file with all the entries from your .env file without the information after the = sign using nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published