Node-diff-bin is a Node.JS module which can be used to generate diff using the Node.JS diff module. In other words it can be described as a  shell executable which can be used to generate diff using the Node.JS diff module.

Installation

npm install -g node-diff-bin

Usage

Print the patch output inside the console:

node-diff first.file second.file

Save the patch output to a patch file first-second.patch:

node-diff first.file second.file first-second.patch

License

The MIT License

Are you looking for scalable, robust web applications that will add value to your operations developed on Node.JS? Do not hesitate to contact us at or by filling in the form at www.nettantra.com/contact, we can certainly help you out with it.