Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Schniz/beg-to-differ. Simple string diff patching for node.js
Something went wrong. Try again.
Files
- JavaScript 100%
README.md
beg-to-differ.js
#
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