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

Configure Feed

Select the types of activity you want to include in your feed.

JavaScript 99.5%
Other 0.5%
10 1 0

Clone this repository

https://tangled.org/schlez.in/beg-to-differ https://tangled.org/did:plc:4hiqwted6yqevbbbujgjbuk7
git@tangled.org:schlez.in/beg-to-differ git@tangled.org:did:plc:4hiqwted6yqevbbbujgjbuk7

For self-hosted knots, clone URLs may differ based on your setup.



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