Module: zombie/zombie

Zombie Navigator API (ZAPI) documentation
Version:
  • 0.5.0
License:
  • AGPL-3.0+
Source:

Namespaces

console
zombie

Members

(inner) env :object

Access environment variables (use getEnvName() to get the real (mapped) name of a variable)
Type:
  • object
Since:
  • 0.4.0
Source:
Example
const {env, getEnvName} = require('zombie/zombie');
env.my_variable; // may be empty ('')
getEnvName('my_variable'); // real variable name

Methods

(inner) getEnvName(name) → {string}

Get the real name of an environment variable
Parameters:
NameTypeDescription
namestring
Since:
  • 0.4.0
Source:
Returns:
Type
string