gulp-concat-json

1.0.0 • Public • Published

gulp-concat-json

A plugin for Gulp to combine several JSON files

Usage

First, install gulp-concat-json as a development dependency:

npm install --save-dev gulp-concat-json

Then, add it to your gulpfile.js:

var concat_json = require("gulp-concat-json");
 
gulp.src("api/project/*.json")
    .pipe(concat_json("project.js"))
    .pipe(gulp.dest("dist/api"));

API

concat-json(fileName, processor)

fileName

Type: String

The output filename

Readme

Keywords

Package Sidebar

Install

npm i gulp-concat-json

Weekly Downloads

83

Version

1.0.0

License

MIT

Last publish

Collaborators

  • itrulia