Skip to content

Cascading configurations with environment variables support

Notifications You must be signed in to change notification settings

bodylabs/misty-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

misty-config

misty-config is cascading configurations with environment variables support. The name is a pun, cascade + environment = mist.

  • Reads a cascading configuration files via the npm config package

  • Resolve occurances of ${ENV} syntax that appear in the right-hand side to the values set in the environent variables.

  • The returned configuration object is immediately set to immutable without waiting for the first get call.

  • Provides a webpack loader that compiles the configuration into the build as a POJO, removing the need for the browser to fetch node-config and hjson.

  • Since this module declares a dependency on hjson, hjson files are supported out-of-the-box.

About

Cascading configurations with environment variables support

Resources

Stars

Watchers

Forks

Packages

No packages published