envsubstr
v0.0.1
Published
Simple envsubstr for Node
Readme
Modules
envsubstr
Small purposeful global npm module without dependencies.
Production
Use in production at your own risk.
Install
$ npm install -g envsubstrLicense: MIT
Example
$ echo "${USER}" | envsubstrenvsubstr ⇒ String
Replace matched value and return string.
Throws:
- Error Environment variable not found.
| Param | Type | | --- | --- | | data | String |
Example
import parser from 'envsubstr';
parser('${USER}');