Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 331 Bytes

readme.md

File metadata and controls

7 lines (4 loc) · 331 Bytes

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