dotenv-cloak
v0.1.0
Published
`Dotenv Cloak` is a package that allows you to generate on file all environment variables without the value
Downloads
2
Readme
Dotenv Cloak
Dotenv Cloak
is a package that allows you to generate on file all environment variables without the value
Installation
First we will have to install, in order to use this wonderful package.
# Using npm
npm install --save dotenv-cloak@latest
# Using yarn
yarn add dotenv-cloak@latest
🌎 Usage
# Application
APP_NAME=Dotenv Cloak
APP_PORT=8080
# Database
DB_HOST=localhost
DB_PASS=admin_password
DB_USER=root
The processed file will be generated .env.example
# Application
APP_NAME=Dotenv Cloak
APP_PORT=xxxx
# Database
DB_HOST=localhost
DB_PASS=xxxxxxxxxxxxxx
DB_USER=xxxxxx
to generate is very easy !
dotenv-cloak --ignore APP_NAME,DB_HOST
Stay in touch
- Github @yonycalsin
- Twitter @yonycalsin
License
dotenv-cloak
under License MIT.