jsdifflib now on Github

jsdifflib is a Javascript library that provides:

  1. a partial reimplementation of Python’s difflib module (specifically, the SequenceMatcher class)
  2. a visual diff view generator, that offers side-by-side as well as inline formatting of file data

Some years ago, I needed a good in-browser visual diff tool, and couldn’t find anything suitable.  So, I built jsdifflib in 2007 and open-sourced it soon thereafter.

It’s apparently been used a fair bit by others, even though I cruelly sequestered it on one of Snowtide‘s web servers for years (sorry, but Github wasn’t around and I had little patience for SourceForge).  I’ve promised to put the source somewhere more useful many times, but have unfortunately only just gotten around to it today: jsdifflib is now on github.

I’ve not used the library in some time, but it still works well enough.  Send in your patches if you have ’em.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s