0.2.1 • Published 8 years ago

gulp-files-to-json v0.2.1

Weekly downloads
300
License
MIT
Repository
github
Last release
8 years ago

gulp-files-to-json

A really shitty gulp plugin to read a bunch of files and output a json file.

Usage:

var f2Json = require('gulp-files-to-json');
f2Json(<nameOfFileToOutput.json>)

Example:

var filesToJson = require('gulp-files-to-json');

gulp.task('svg', function() {
  gulp.src('./svg/**/*.svg')
    .pipe(svgmin())
    .pipe(filesToJson('icons.json'))
    .pipe(gulp.dest('./src/services/'));
});
0.2.1

8 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago