- envsubstr
Small purposeful global npm module without dependencies.
Use in production at your own risk.
$ npm install -g envsubstr- envsubstr ⇒
String Replace matched value and return string.
Small purposeful global npm module without dependencies.
Use in production at your own risk.
$ npm install -g envsubstr
License: MIT
Example
$ echo "${USER}" | envsubstrReplace matched value and return string.
Throws:
ErrorEnvironment variable not found.
| Param | Type |
|---|---|
| data | String |
Example
import parser from 'envsubstr';
parser('${USER}');