Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis. Learn more
Socket
Log inDemoInstall

gulp-decomment

Package Overview
Dependencies
3
Maintainers
1
Versions
8
Issues
File Explorer

Advanced tools

gulp-decomment

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

    0.2.2latest
    GitHub

Version published
Maintainers
1
Weekly downloads
754
decreased by-3.83%

Weekly downloads

Changelog

Source

0.2.2

  • Dependencies updated

Readme

Source

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.

Keywords

FAQs

Last updated on 17 Mar 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc