gulp-strip-banner

Strips non-protected banner comments (/** ... */, but not /!** ... */)

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-strip-banner
110.0.28 years ago8 years agoMinified + gzip package size for gulp-strip-banner in KB

Readme

gulp-strip-banner
Removes unprotected comment banners (/ / and / /) from the top of files.

Installation

`npm install gulp-strip-banner'

Usage

```js var gulp = require('gulp'),
strip = require('gulp-strip-banner');
gulp.task('strip', function(){ gulp.src('path/to/file')
.pipe(strip())
.pipe(gulp.dest('./path/to/dest')
}) ```` Currently, only buffer is supported.