1.0.0 • Published 10 years ago

gulp-concat-json v1.0.0

Weekly downloads
307
License
MIT
Repository
github
Last release
10 years ago

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