0.1.0 • Published 7 years ago

unenvify v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

unenvify Build Status

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