node-env-config-file-loader

1.0.2 • Public • Published

Build Status npm version

node-env-config-file-loader

Library for loading configuration files that you can inject environment variables in to.

This library will replace #{MY_ENVIRONMENT_VARIABLE} with your environment variable of the same name.

How do I use this?

The load function

All you need to do is send a file path to the load function and it will handle everything for you.

JSON and YAML files are the only file types currently supported

var configLoader = require('node-env-config-file-loader');
var config = configLoader.load('./config.yml');

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.27latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.27

Package Sidebar

Install

npm i node-env-config-file-loader

Weekly Downloads

7

Version

1.0.2

License

MIT

Last publish

Collaborators

  • mrstebo