envcfg-merge-configs-pmb

0.1.3 • Public • Published

envcfg-merge-configs-pmb

merge-options + envcfg-import-deep-pmb

API

This module exports one function:

envcfgMergeConfigs(opt, config1[, …configs])

Merges all your configs using merge-options, then imports env vars by applying envcfg-import-deep-pmb with options from opt and forced { inplace: true }. Returns the resulting config.

  • Pro Tip: Use the ifPrefixProp option from envcfg-import-deep-pmb to easily have your CLI config decide which environment config to accept.

See also

Known issues

  • Needs more/better tests and docs.

 

License

ISC

Readme

Keywords

Package Sidebar

Install

npm i envcfg-merge-configs-pmb

Weekly Downloads

1

Version

0.1.3

License

ISC

Unpacked Size

2.37 kB

Total Files

3

Last publish

Collaborators

  • mk-pmb