All Projects → sindresorhus → gulp-strip-json-comments

sindresorhus / gulp-strip-json-comments

Licence: MIT license
Strip comments from JSON. Lets you use comments in your JSON files!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gulp-strip-json-comments

Gulp Webp
Convert images to WebP
Stars: ✭ 187 (+648%)
Mutual labels:  gulp-plugin
gulp-sort
Sort files in stream by path or any custom sort comparator
Stars: ✭ 22 (-12%)
Mutual labels:  gulp-plugin
gulp-es6-transpiler
[DEPRECATED] Transpile ES2015 to ES5
Stars: ✭ 47 (+88%)
Mutual labels:  gulp-plugin
Gulp Debug
Debug Vinyl file streams to see what files are run through your Gulp pipeline
Stars: ✭ 223 (+792%)
Mutual labels:  gulp-plugin
gulp-spsync-creds
Gulp plugin for synchronizing local files with a SharePoint library via user credentials
Stars: ✭ 12 (-52%)
Mutual labels:  gulp-plugin
gulp-myth
[DEPRECATED] Myth - Postprocessor that polyfills CSS
Stars: ✭ 39 (+56%)
Mutual labels:  gulp-plugin
Gulp Traceur
Traceur is a JavaScript.next to JavaScript-of-today compiler
Stars: ✭ 172 (+588%)
Mutual labels:  gulp-plugin
gulp-ava
Run AVA tests
Stars: ✭ 56 (+124%)
Mutual labels:  gulp-plugin
gulp-xo
Validate files with XO
Stars: ✭ 37 (+48%)
Mutual labels:  gulp-plugin
gulp-html
Gulp plugin for HTML validation, using the official Nu Html Checker (v.Nu)
Stars: ✭ 70 (+180%)
Mutual labels:  gulp-plugin
Gulp Size
Display the size of your project
Stars: ✭ 225 (+800%)
Mutual labels:  gulp-plugin
gulp-upload-qcloud
腾讯云 cos 静态资源上传 gulp 插件
Stars: ✭ 18 (-28%)
Mutual labels:  gulp-plugin
gulp-cleanhtml
remove unneeded whitespaces, line-breaks, comments, etc from the HTML.
Stars: ✭ 19 (-24%)
Mutual labels:  gulp-plugin
Gulp Html Replace
Replace build blocks in HTML. Like useref but done right.
Stars: ✭ 222 (+788%)
Mutual labels:  gulp-plugin
gulp-rework
Preprocess CSS with Rework
Stars: ✭ 30 (+20%)
Mutual labels:  gulp-plugin
Gulp Compass
Compass plugin for gulp
Stars: ✭ 177 (+608%)
Mutual labels:  gulp-plugin
gulp-cssbeautify
Reindent and reformat CSS
Stars: ✭ 18 (-28%)
Mutual labels:  gulp-plugin
gulp-qunit
Run QUnit unit tests in a headless PhantomJS instance.
Stars: ✭ 24 (-4%)
Mutual labels:  gulp-plugin
gulp-merge-json
A gulp plugin to merge JSON & JSON5 files into one file
Stars: ✭ 35 (+40%)
Mutual labels:  gulp-plugin
gulp-sitemap
Generate a search engine friendly sitemap.xml using a Gulp stream
Stars: ✭ 60 (+140%)
Mutual labels:  gulp-plugin

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

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

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

API

stripJsonComments(options?)

options

Type: object

See the strip-json-comments options.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].