Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

env-auto

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

env-auto

convert app.json in to .env

Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
20
185.71%
Maintainers
1
Weekly downloads
 
Created
Source

Why this code?

This is a very simple and small project create to save me some time when working on web servers hosted on Heroku.

I'm a big fan of the Heroku Button because it allows me to create a project deployable by anyone in my team with detailed instructions how to set up all the environment variables, thank to the app.json file.

Locally we do use Foreman to load the local environment variables from the .env file, and some times a project can end up with lots of variables.

With this tiny app, if you run it in a folder that has the app.json file, it will automatically create a .env for you. The only thing that you then need to do, is to set the right data to those variables.

If you find this project useful, don't forget to give it a star :)

Installation

Install it as a global package, so you can use it through your system.

    $ npm install env-auto -g

Keywords

env

FAQs

Package last updated on 08 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts