Socket
Book a DemoInstallSign in
Socket

gulp-removelogs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-removelogs

gulp plugin to remove console.logs

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

This plugin is depricated in favour of gulp-strip-debug

gulp-removelogs NPM version Build status

Strip of logs from a file.

Usage

First, install gulp-removelogs as a development dependency:

npm install --save-dev gulp-removelogs

Then, add it to your gulpfile.js:

var removeLogs = require('gulp-removelogs');

gulp.task('default', function(){
  gulp.src('index.js')
    .pipe(removeLogs())
    .pipe(gulp.dest('build/index.js'));
});

The above with strip of all console realated logs from index.js

Keywords

log

FAQs

Package last updated on 22 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts