String oriented Data Structures and Algorithms library for JavaScript
$ npm install string-dsa
List of supported Data Structures and Algorithms are :
- Aho Corasick
- Bloom Filter
- Bracket Balance
- Burrows Wheeler Transform
- Burst Sort
- Compact Trie
- Custom Sort
- Dice Coefficient
- Edit/Levenshtein Distance
- Knuth Morris Pratt
- Longest Common Prefix
- Longest Common SubSequence
- Rabin Karp
- Suffix Array
- Trie
To utilize in Node.Js:
const stringDSA = require('string-dsa');
To utilize in Vanilla Js:
# follow cloning steps
$ npm run prod
$ cp ./dist/string-dsa.js /YOUR/DIRECTORY/FILENAME.js
<script src="/YOUR/DIRECTORY/FILENAME.js"></script>
Cloning:
$ git clone https://github.com/thsubaku9/string-dsa/
$ cd string-dsa
$ npm install
Testing:
$ npm test
Coverage:
$ npm run coverage