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

https://github.com/monyone/myers-diff-linear-space

"Optimal alignments in linear space" implement in TypeScript
https://github.com/monyone/myers-diff-linear-space

Last synced: about 1 month ago
JSON representation

"Optimal alignments in linear space" implement in TypeScript

Awesome Lists containing this project

README

          

# Myers Diff Linear Space

```typescript
import diff from '@monyone/myers-diff-linear-space';

diff([1, 2, 3], [3, 2, 3]);
// [ { type: 'delete', from: 0 }, { type: 'insert', to: 0 } ]

```