heroku-to-dotenv

Convert heroku config files to .env files.

Usage no npm install needed!

<script type="module">
  import herokuToDotenv from 'https://cdn.skypack.dev/heroku-to-dotenv';
</script>

README

Build Status

heroku-to-dotenv

Helps to convert heroku configs downloaded using Heroku CLI to dotenv format.

Install

npm i -g heroku-to-dotenv

Help

heroku-to-dotenv --help

How to use

heroku config --app my-app-on-heroku > some-aux-file.txt
heroku-to-dotenv --inputFile some-aux-file.txt --outputFile .env