node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

environs

env

Helper methods for determining environment.

env.RELEASE : String

Detect release environment

Kind: static constant of env

env.PRODUCTION : String

Detect production environment

Kind: static constant of env

env.TESTING : String

Detect testing environment

Kind: static constant of env

env.CI : String

Detect dev environment

Kind: static constant of env

env.DEV : String

Detect dev environment

Kind: static constant of env

env.VERSION : string

Returns version

Kind: static constant of env

env~getEnv(env) ⇒ any

Get an environment variable

Kind: inner method of env
Returns: any - returns variable

Param Type Description
env string var to get

env~SET_PROJECT_VERSION(version)

Set up the global project path

Kind: inner method of env

Param Type Description
version string string path