Skip to content

Repository files navigation

base-diff NPM versionBuild Status

Plugin for adding a diff method to a 'base' application.

Install

Install with npm

$ npm i base-diff --save

Usage

Heads 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.

vardiff=require('base-diff');varverb=require('verb');varapp=verb();app.use(diff());

gulp usage

vardiff=require('base-diff');varthrough=require('through2');vargulp=require('gulp');gulp.task('diff',function(){returngulp.src('*.txt').pipe(diff.file('diffChars')).pipe(somePlugin()).pipe(diff.file())// automatically shows the diff.pipe(gulp.dest('.'));});

Related projects

  • 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

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb on December 14, 2015.

About

Plugin for adding a diff method to a 'base' application. (not ready for use!)

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages