Plugin for adding a diff method to a 'base' application.
Install with npm
$ npm i base-diff --saveHeads up! This isn't quite ready for use. It's close but needs to be documented and cleaned up first!
verb is used in this example, but the plugin can be registered with any application that uses base-methods.
var diff = require('base-diff');
var verb = require('verb');
var app = verb();
app.use(diff());var diff = require('base-diff');
var through = require('through2');
var gulp = require('gulp');
gulp.task('diff', function () {
return gulp.src('*.txt')
.pipe(diff.file('diffChars'))
.pipe(somePlugin())
.pipe(diff.file()) // automatically shows the diff
.pipe(gulp.dest('.'));
});- assemble: Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… more | homepage
- base-methods: Starter for creating a node.js application with a handful of common methods, like
set,get,… more | homepage - micromatch: Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… more | homepage
- verb: Documentation generator for GitHub projects. Verb is extremely powerful, easy to use, and is used… more | homepage
Install dev dependencies:
$ npm i -d && npm testPull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb on December 14, 2015.