Skip to content

A simple utility programs that looks for and loads a config file.

License

Notifications You must be signed in to change notification settings

femto-apps/lib-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config Loader

Descciption

By default, this module lets you have either a single file, called config.(json|hjson|js) or an unlimited number of files within a configs folder.

You can further have default values, implemented by adding .default just before the suffix.

Alternate config files can be loaded afterwards.

Usage

const config = require('@femto-host/config')

config.get('path.to.option[0]')

License

This project is licensed under a MIT license. See the LICENSE file for more information.

About

A simple utility programs that looks for and loads a config file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •