amaui Algorithms
Algorithms
MIT license
Production ready
UMD 2.1kb gzipped
100% test cov
Browser and Nodejs
Very simple code
Modern code
Junior friendly
Typescript
Made with :yellow_heart:
Getting started
Add
// yarn
yarn add @amaui/algorithms
// npm
npm install @amaui/algorithms
Algorithms
- Factorial
- Fibonacci
- Binary search
- Bubble sort
- Selection sort
- Insertion sort
- Merge sort
- Quick sort
- Radix sort
- Naive search
- LPS
- KMP
- etc.
Use
import { bubbleSort } from '@amaui/algorithms';
const value = [1, 14, 7, 4];
bubbleSort(value);
Dev
Install
yarn
Test
yarn test
Prod
Build
yarn build
Docs
Might be soon...