env-inject-file

1.0.2 • Public • Published

env-inject-file NPM version Build Status Dependency Status

Node command line utility that processes input file with environment placeholders to output file with populated environment variables

Installation

$ npm install env-inject-file -g

Usage

Replace all environment placeholders in 'foo.yaml' to output 'bar.yaml'. Env variable is e.g.${SOME_ENV}.

node env-inject-file --in foo.yml --out bar.yml

Programmatic Usage

Use env-inject-file from JS program:

var envInjectFile = require('../env-inject-file');
 
envInjectFile({
  in: "/fullyqualifiedpath/file.yml",
  out: "/fullyqualifiedpath/out.yml",
});
 

License

MIT © Eisberg Labs

Readme

Keywords

Package Sidebar

Install

npm i env-inject-file

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

4.58 kB

Total Files

5

Last publish

Collaborators

  • eisberg-labs