gd
gulp-decomment
npm i gulp-decomment
gd

gulp-decomment

🍸 Removes comments from JSON, JavaScript, CSS, HTML, etc.

by Vitaly Tomilov

0.2.2 (see all)License:MITTypeScript:Not Found
npm i gulp-decomment
Readme

gulp-decomment

Uses decomment to remove comments from JSON, JavaScript, CSS, HTML, etc.

Build Status Coverage Status

Installing

$ npm i gulp-decomment

Testing

$ npm test

Testing with coverage:

$ npm run coverage

Usage

const gulp = require('gulp');
const decomment = require('gulp-decomment');

gulp.task('default', () => 
    gulp.src('input.js')
    .pipe(decomment({trim: true}))
    .pipe(gulp.dest('dest'))
);

API

Available methods, according to decomment API:

- decomment([options])
- decomment.text([options])
- decomment.html([options])

License

Copyright © 2021 Vitaly Tomilov; Released under the MIT license.

Downloads/wk

859

GitHub Stars

12

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

3

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.2.2
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate