2.1.0 • Published 9 years ago
misty-config v2.1.0
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
configpackageResolve 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
getcall.Provides a
webpackloader that compiles the configuration into the build as a POJO, removing the need for the browser to fetchnode-configandhjson.Since this module declares a dependency on
hjson,hjsonfiles are supported out-of-the-box.