[READ-ONLY] Mirror of https://github.com/Schniz/beg-to-differ. Simple string diff patching for node.js
Files
README.md

beg-to-differ.js Travis CI #

Simple string diff patches for your app.

Installing #

npm install --save beg-to-differ

Usage #

var differ = require('beg-to-differ');

var patch = differ.createPatch("from String", "to String");
var toString = differ.applyPatch("from String", patch);

Can be used in Neo4j relationships without JSON.stringifying it (array of strings) for implementing a simple versioning system.

Testing #

npm test

Contributing #

  • fork
  • branch
  • write tests
  • code (don't break shit)
  • commit & push
  • pull request
  • profit