wire.js plugin to get environment variables in wire spec
Install
$ npm install --save getenv-wire
Usage
Register plugin in wire.js spec
"$plugins": "module": "getenv-wire"
Apply getenv factory in spec
Short form
"property": "getenv": "VARIABLE"
Long form with optional default value
"property": "getenv": "variable": "VARIABLE" "default": "DEFAULT_VALUE"
License
MIT © Volker Möbius