node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

git-create-delta

git-create-delta

browser support

based largely off of @tarruda's magnificent work, git-create-delta creates binary deltas between buffer objects.

var create = require('git-create-delta')
  , apply = require('git-apply-delta')
 
var from = new Buffer(1024)
  , to = new Buffer(1024)
 
var delta = create(from, to)
 
apply(delta, from) // returns a buffer matching `to` 
 

license

MIT