Socket
Book a DemoInstallSign in
Socket

gulp-surgeon

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-surgeon

Surgical percision for Gulp

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

Gulp-surgeon

Surgical precision for Gulp

What it does

Surgeon works much like gulp-concat. The difference is, that in addition to concatinating the files, it adds a signature to their source file. This allows it to later modify the destination file without having to read and recompile all of the other files.

Example Usage

var stylPaths = ['lib/**/*.styl'];
gulp.task('styles', function() {
  gulp.src(stylPaths)
    .pipe(stylus)
    .pipe(surgeon.stitch('app.css'))
    .pipe(gulp.dest('public/'));
}

gulp.watch(stylPaths), function(event) {
  gulp.src(event.path)
    .pipe(stylus)
    .pipe(surgeon.slice('public/app.css'))
    .pipe(gulp.dest('public/'));
});

Keywords

gulp

FAQs

Package last updated on 06 Aug 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