gdj

gulp-data-json

Loads JSON data from companion files and stores it in `file.data`

Showing:

Popularity

Downloads/wk

111

GitHub Stars

1

Maintenance

Last Commit

7yrs ago

Contributors

1

Package

Dependencies

2

Size (min+gzip)

9.7KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

gulp-data-json

Loads JSON data from companion files and stores it in file.data via gulp-data.

Install

npm install gulp-data-json --save-dev

Example

var gulp = require("gulp");
var hb = require("gulp-hb");
var dataJson = require("gulp-data-json");

gulp.task("handlebars", function() {
  return gulp.src("src/**/*.hbs")
    .pipe(dataJson())
    .pipe(hb())
    .pipe(gulp.dest("dest"));
});

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100