Skip to content

Create/append to a .env file with a secret key from the command line

Notifications You must be signed in to change notification settings

elie/generate-secret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate Secret

A simple node tool to add a key (default is 'SECRET') to a file (default is .env) using the crypto library's randomBytes function.

Install the module globally with npm install -g generate-secret

Run using generate-secret and specify the file and key or override using --yes to use the default values

About

Create/append to a .env file with a secret key from the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published