An open API service indexing awesome lists of open source software.

https://github.com/dpressel/edits

Edit distance and alignment in Node.js
https://github.com/dpressel/edits

Last synced: about 1 month ago
JSON representation

Edit distance and alignment in Node.js

Awesome Lists containing this project

README

          

edits
=====

Simple edit distance and alignment in Node.js

Currently supports Levenshtein distance, with alignment.

```js
var edits = require('edits');

var d = edits.distance('word1', 'word2');
var aligned = edits.distanceAligned('word1', 'word2').aligned;

```

Build using Grunt:
```
$ npm install
$ grunt

```