
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
gulp-json-concat
Advanced tools
Combine several JSON files with Gulp
gulp-json-concat is a fork of gulp-jsoncombine with new few options.
$ npm install --save-dev gulp-json-concat
You can combine json files that are in subfolders. The json generated will remove the name of these folders to keep only the name of the file.
var gulp = require('gulp');
var jsonConcat = require('gulp-json-concat');
gulp.task('json', function () {
return gulp.src('db/**/*.json')
.pipe(jsonConcat('db.json',function(data){
return new Buffer(JSON.stringify(data));
}))
.pipe(gulp.dest('dist/json'));
});
Type: String
The output filename.
Type: Function
The function that will be called with the dictionary containing all the data from the processes JSON files, where the keys of the dictionary, would be the names of the files (sans the '.json' postfix).
The function should return a new Buffer
that would be writter to the output file.
MIT © 2017 David Dias
FAQs
⚡️ Combine several JSON files into one with Gulp
The npm package gulp-json-concat receives a total of 3,423 weekly downloads. As such, gulp-json-concat popularity was classified as popular.
We found that gulp-json-concat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.