Skip to content

Node module to merge multiple JSON files into a single configuration object. The module is primarily used to join multiple configurations, usually for gulp. However, it can be used without gulp.

License

Notifications You must be signed in to change notification settings

nativecode-dev/gulp-configly

Repository files navigation

gulp-configly

npm Travis TeamCity David David

Node module to merge multiple JSON files into a single configuration object. The module is primarily used to join multiple configurations, usually for gulp. However, it can be used without gulp.

Usage

const configly = require('gulp-configly')
const config = configly(__dirname, 'package.json', 'someother.json')

When used with gulp-load-plugins, you can use it thusly:

const gulp = require('gulp')
const plugins = require('gulp-load-plugins')
const $ = plugins.configly(__dirname, 'package.json')

The above will automatically load gulpfile.json if it exists in the base directory as well as create a package property containing the package.json configuration.

About

Node module to merge multiple JSON files into a single configuration object. The module is primarily used to join multiple configurations, usually for gulp. However, it can be used without gulp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published