1.0.0 • Published 8 years ago
env-replace v1.0.0
env-replace
Replaces all environment variable placeholders in a file
Install
npm install env-replaceUsage
npx env-replace config/*.yamlconst envReplace = require('env-replace')
envReplace('config/*.yaml')API
envReplace(pattern)
Replaces environment variable placeholders in any file that matches the pattern.
pattern
Type: string
Glob that defines which files are processed.
1.0.0
8 years ago