Skip to content

bonte-nicolas/ekconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ekconfig

NPM version

A lightweight configuration module powered by yaml.

Installation

Using yarn

yarn add @ekino/config

Or npm

npm install @ekino/config

Usage

This module assumes all your configuration is defined in a single directory:

├─ conf/
   ├─ base.yaml        # the base configuration
   ├─ env_mapping.yaml # defines mapping between env vars and config keys
   └─ dev.yaml         # loaded if NODE_ENV is `dev`

Be warned that this module uses synchronous file reads in order to be easily required.

About

Simple file reader. Based on yaml files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors