shell-expand
v0.0.1
Published
Expand shell-style variable substitution
Readme
shell-expand
Expand shell-style variable substitution
Usage
Currently it works for flat input (1-depth) only.
const vars = {
TEST: '$TEST $TEST'
};
console.log(shellExpand('${TEST}', vars)); // "$TEST $TEST"