beg-to-differ

1.1.0 • Public • Published

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 when JSON.stringifying it for implementing a simple versioning system.

Testing

npm test

Contributing

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

Package Sidebar

Install

npm i beg-to-differ

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • schlez