0.1.0 • Published 7 years ago
unenvify v0.1.0
unenvify
Replacement Shell/Environment Variable in String
Install
$ npm install --save unenvify
Usage
const unenvify = require('unenvify');
unenvify('$HOME/path', {
HOME: os.homedir()
});
API
unenvify(str, env)
str
Type: string
Target string having shell/environment variable
env
Type: object
Default: process.env
Environment variable sets
License
MIT © Jimmy Moon
0.1.0
7 years ago