Modules
- envsubstr
Small purposeful global npm module without dependencies.
Production
Use in production at your own risk.
Install
$ npm install -g envsubstr
- envsubstr ⇒
String
Replace matched value and return string.
envsubstr
Small purposeful global npm module without dependencies.
Production
Use in production at your own risk.
Install
$ npm install -g envsubstr
License: MIT
Example
$ echo "${USER}" | envsubstr
String
envsubstr ⇒ Replace matched value and return string.
Throws:
Error
Environment variable not found.
Param | Type |
---|---|
data | String |
Example
;;