1. config-master
Load stored configuration data
config-master
Package: config-master
Created by: 75lb
Last modified: Mon, 13 Jun 2022 20:58:53 GMT
Version: 3.1.0
License: MIT
Downloads: 546,416
Repository: https://github.com/75lb/config-master

Install

npm install config-master
yarn add config-master

view on npm
npm module downloads
Build Status
Dependency Status
js-standard-style

config-master

A convention for storing and retrieving application config. You supply a string (e.g. 'example-app'), the libary will walk up the directory tree merging config stored for this app. The following locations are searched, with the latter taking precedence:

  • Any package.json, beneath the example-app property.
  • Any .example-app.json files (or a custom filename you specify).

loadConfig(configName, [options]) ⇒ Object

Kind: Exported function

Param Type Description
configName string config name
[options] object options
[options.startFrom] string directory to begin looking for config
[options.filename] string config filename (defaults to .${configName}.json)

© 2014-17 Lloyd Brookes [email protected]. Documented by jsdoc-to-markdown.

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin