Skip to content

bytein-org/config-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

config-loader

config-loader is a simple configuration loader that loads configuration from JSON file and passes it to a callback function.

Installation

npm install @bytein/config-loader

Use

Create a config/default.json inside your application folder.

var configLoader = require('config-loader');

configLoader.load(function(err, config) {
    if(err) throw err;
    // console.log(config);
});

About

Simple configuration loader for node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published