Displaying 1 to 9 from 9 results

cosmiconfig - Find and load configuration from a package.json property, rc file, or CommonJS module

  •    Javascript

Cosmiconfig searches for and loads configuration for your program. It features smart defaults based on conventional expectations in the JavaScript ecosystem. But it's also flexible enough to search wherever you'd like to search, and load whatever you'd like to load.

pkg-conf - Get namespaced config from the closest package.json

  •    Javascript

Having tool specific config in package.json reduces the amount of metafiles in your repo (there are usually a lot!) and makes the config obvious compared to hidden dotfiles like .eslintrc, which can end up causing confusion. XO, for example, uses the xo namespace in package.json, and ESLint uses eslintConfig. Many more tools supports this, like AVA, Babel, nyc, etc.It walks up parent directories until a package.json can be found, reads it, and returns the user specified namespace or an empty object if not found.

cache-conf - Simple cache config handling for your app or module

  •    Javascript

If you don't need caching, you should use conf instead. This module extends that module and abstracts away the caching mechanism.Returns a new instance.

conf - Simple config handling for your app or module

  •    Javascript

All you have to care about is what to persist. This module will handle all the dull details like where and how.If you need this for Electron, check out electron-store instead.




rc-config-loader - Load config from .{product}rc.{json,yml,js} file

  •    Javascript

Load config from .{product}rc.{json,yml,js} file. It is a Node.js library for loading .textlintrc, .eslintrc, .stylelintrc etc...

resolve-dep - Load the resolved file paths for specified NPM modules into your node project, or into Grunt config data using Lo-Dash templates

  •    Javascript

Return an array of resolved filepaths for require-able local or named npm modules. Wildcard (glob) patterns may be used. Similar in concept to matchdep and load-grunt-tasks, but returns an array of fully resolved file paths to any local modules or npm modules listed in package.json dependencies.

config-file - Find and load a YAML or JSON config file from a local project, installed npm module, or the user's home directory

  •    Javascript

Find and load a YAML or JSON config file (like .jshintrc, package.json, bower.json etc) from either a local project, installed npm module, or the user's home directory. v0.3.0 was a complete refactor. The readme API section describes the new API.