gulp-strip-json-comments

Strip comments from JSON. Lets you use comments in your JSON files!

npm install gulp-strip-json-comments
4 downloads in the last week
10 downloads in the last month

gulp-strip-json-comments Build Status

Strip comments from JSON with strip-json-comments
Lets you use comments in your JSON files!

Install

Install with npm

npm install --save-dev gulp-strip-json-comments

Example

var gulp = require('gulp');
var stripJsonComments = require('gulp-strip-json-comments');

gulp.task('default', function () {
    gulp.src('src/config.json')
        .pipe(stripJsonComments())
        .pipe(gulp.dest('dist'));
});

License

MIT © Sindre Sorhus

npm loves you