env-replace
Replaces all environment variable placeholders in a file
Install
npm install env-replace
Usage
npx env-replace config/*.yaml
const envReplace =
API
envReplace(pattern)
Replaces environment variable placeholders in any file that matches the pattern.
pattern
Type: string
Glob that defines which files are processed.