string-dsa
v2.1.0
Published
String Data Structures and Algorithms Library in JavaScript
Downloads
21
Maintainers
Readme
string-dsa
String oriented Data Structures and Algorithms library for JavaScript
Installation
$ npm install string-dsa
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
Utilization
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>
Development Steps
Cloning:
$ git clone https://github.com/thsubaku9/string-dsa/
$ cd string-dsa
$ npm install
Testing:
$ npm test
Coverage:
$ npm run coverage