Gulp Strip Json Comments Save

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

Project README

gulp-strip-json-comments

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

Install

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

Usage

import gulp from 'gulp';
import stripJsonComments from 'gulp-strip-json-comments';

export default () => (
	gulp.src('src/config.json')
		.pipe(stripJsonComments())
		.pipe(gulp.dest('dist'))
);

API

stripJsonComments(options?)

options

Type: object

See the strip-json-comments options.

Open Source Agenda is not affiliated with "Gulp Strip Json Comments" Project. README Source: sindresorhus/gulp-strip-json-comments
Stars
26
Open Issues
0
Last Commit
7 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating