unenvify

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i unenvify

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • ragingwind