1.0.0 • Published 6 years ago

env-replace v1.0.0

Weekly downloads
48
License
MIT
Repository
github
Last release
6 years ago

env-replace

npm version Build Status

Replaces all environment variable placeholders in a file

Install

npm install env-replace

Usage

npx env-replace config/*.yaml
const 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.