Skip to content

Consume config file and export contents

Notifications You must be signed in to change notification settings

PentiaLabs/configuration.reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

configuration.reader

configuration.reader for simple reading of configuration file for consumption in JavaScript files.

usage

The module exports a method that returns a configuration object promise.

const config = require('@pentia/configuration-reader')('./solution-config.json');

config.then( configurationObject => {
    // do something with configurationObject once promise resolves.
});

About

Consume config file and export contents

Resources

Stars

Watchers

Forks

Packages

No packages published