Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gulp-cssshrink with all npm packages installed. Try it out:

var gulpCssshrink = require("gulp-cssshrink")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gulp-cssshrink v0.1.6

Run CSS through cssshrink

gulp-cssshrink Build Status Dependency Status devDependency Status

Shrinks CSS files using cssshrink

Note: It seems like cssshrink is dead (no commits since 2014-07-07 and 20 open issues). You should probably use something like cssnano instead

Install

npm install gulp-cssshrink --save-dev

Usage

var gulp = require('gulp');
var cssshrink = require('gulp-cssshrink');

gulp.task('default', function() {
    gulp.src('css/**/*.css')
        .pipe(cssshrink())
        .pipe(gulp.dest('dist/css/'));
});

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free