Newton's Programmatic Measurements

    gulp-configly

    1.1.5 • Public • Published

    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.

    Keywords

    none

    Install

    npm i gulp-configly

    DownloadsWeekly Downloads

    0

    Version

    1.1.5

    License

    MIT

    Last publish

    Collaborators

    • nativecode
    • teegee