Common JavaScript algorithms
npm install @kitmi/algo@kitmi/algo is a lightweight JavaScript library for various algorithms and data structures, focusing on graph and tree operations. It provides efficient implementations of Breadth-First Search (BFS), Depth-First Search (DFS), Topological Sorting, Finite State Machines (FSM), and representations for graphs and trees, among other utilities.
- Search Algorithms:
- Breadth-First Search (BFS)
- Depth-First Search (DFS)
- Structures:
- Directed Graph
- Tree
- Key Tree
- Finite State Machine
- Other Algorithms:
- Topo Sorting
To install @kitmi/algo, run the following command:
``bash`
bun install @kitmi/algo
Or if you're using npm:
`bash``
npm install @kitmi/algo