开发者社区> 镜像站> NPM> gulp-strip-banner
gulp-strip-banner
Strips non-protected banner comments (/** ... */, but not /!** ... */)
Last updated 6 years ago by oscarg .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install gulp-strip-banner 
SYNC missed versions from official npm registry.

gulp-strip-banner

Removes unprotected comment banners (/** / and / */) from the top of files.

Installation

`npm install gulp-strip-banner'

##Usage

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.

Current Tags

  • 0.0.2                                ...           latest (6 years ago)

2 Versions

  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (3)
Dependents (2)