dotenvencryptdeprecated

Encrypts .env file so that it can be used with git

Usage no npm install needed!

<script type="module">
  import dotenvencrypt from 'https://cdn.skypack.dev/dotenvencrypt';
</script>

README

dotenvencrypt

A package designed to help teams use secret enviroment variables together, without the security risk

Install

npm install dotenvencrypt --save-dev

Usage

const { decrypt } = require('dotenvencrypt');
decrypt(process.env.ENV_PASS);

require('dotenv').config(); // this will read the generated `.env` and populate process.env.* accordingly