@unify-js/data-algo-kit
v0.1.1
Published
A toolkit of data structures and algorithms for JavaScript.
Downloads
2
Readme
@unify-js/data-algo-kit
A toolkit of data structures and algorithms for JavaScript.
- ESM only
- Written in TypeScript
Installation
npm install @unify-js/data-algo-kit
Examples
import { Dequeue } from "@unify-js/data-algo-kit";
const deque = new Deque<number>();
deque.addFirst(1);
deque.addLast(2);
deque.removeFirst();
deque.removeLast();