https://github.com/bertolo1988/heroku-to-dotenv
Convert heroku config files to .env files.
https://github.com/bertolo1988/heroku-to-dotenv
config dotenv environment-variables heroku heroku-cli-plugin npm
Last synced: 5 months ago
JSON representation
Convert heroku config files to .env files.
- Host: GitHub
- URL: https://github.com/bertolo1988/heroku-to-dotenv
- Owner: bertolo1988
- License: mit
- Created: 2019-06-20T23:08:58.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T14:10:31.000Z (about 2 years ago)
- Last Synced: 2025-10-04T19:33:47.282Z (8 months ago)
- Topics: config, dotenv, environment-variables, heroku, heroku-cli-plugin, npm
- Language: JavaScript
- Homepage:
- Size: 171 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/bertolo1988/heroku-to-dotenv)
# heroku-to-dotenv
Helps to convert heroku configs downloaded using [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli) to [dotenv](https://www.npmjs.com/package/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
```