New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gulp-prettydiff

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

Transform Gulp streams with Pretty Diff.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
8
-38.46%
Maintainers
1
Weekly downloads
 
Created
Source

Gulp Pretty Diff

This plugin provides a simple interface for Gulp to transform files with Pretty Diff. You can pass any option supported by the Pretty Diff API as a property to the options object, except for source which is automatically converted from the stream into a UTF-8 string for you.

var gulp = require("gulp");
var gulpPrettyDiff = require("gulp-prettydiff");

gulp.src("./**/*.css")
    .pipe(gulpPrettyDiff({
        lang: "css",
        mode: "beautify"
    }))
    .pipe(gulp.dest("./"))

NOTE: Pretty Diff itself does not support streaming. This plugin just consumes a Vinyl stream, passes its file objects through Pretty Diff and then returns a stream.

Keywords

Gulp

FAQs

Package last updated on 06 Feb 2018

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