1.1.0 • Published 2 years ago

altenv v1.1.0

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

Intro

Change up your environment variables according to your preferred target runtime environment or otherwise.

Install

# with npm
npm install -g altenv

# or with yarn
yarn global add altenv

Usage

  1. init - Create the altenv.js config file. A .env file is created in the project root if none exists.
$ altenv init
  1. Edit altenv.js
  • Set your preferred default environment variable values in the defaultEnv property.
  • Add new target function(s) or update existing function(s) under the transformers object. These are used
    to transform env variables to the preferred values.
  1. use any of the targets to set/change the values in your .env file
$ altenv use <target>
# The selected transformer target will be included in the .env file, marked by the name `ALTENV_TARGET`
1.1.0

2 years ago

1.0.0

3 years ago

1.0.2-beta

3 years ago

1.0.1-beta

3 years ago

1.0.0-beta

3 years ago

0.0.1-alpha

3 years ago