0.1.0 • Published 2 years ago

dotenv-cloak v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Dotenv Cloak

Dotenv Cloak is a package that allows you to generate on file all environment variables without the value

CI

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

License

dotenv-cloak under License MIT.