A TypeScript based NodeJS project to have libraries for different sorting and search algorithms that are easily modifiable for how it compares different variable types. Its not yet done as an NPM library but may modify in the future. Currently can just copy and paste into various projects as needed.
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Selection Sort
- Shell Sort
- Linear Sort
- Merge Sort (Primarily works in a pre sorted array)
In the project directory, you can run:
Runs a series of tests to make sure the sorting works.
Builds the typescript into a javascript library in the lib folder.