gulp-json-refs
v0.1.1
Published
Gulp package for json-refs
Downloads
716
Maintainers
Readme
gulp-json-refs
Gulp wrapper for json-refs - Various utilities for JSON References, and JSON Pointers since JSON References are part JSON Pointer.
Project Badges
Note that this is still in early (and heavy) development
Why?
Let's say you have a number of files with multiple references that you'd like to resolve. This will get it done.
Installation
Install package with NPM and add it to your development dependencies:
npm install --save-dev gulp-json-refs
Usage
var json_refs = require('gulp-json-refs');
gulp.task('resolveRefs', function() {
return gulp.src('data/*.json')
.pipe(json_refs())
.pipe(gulp.dest('dist'));
});