JavaScript standard library extensions for building complex and scalable web applications.
- Align with conventions and interfaces of JavaScript standard built-in objects. e.g.
TreeMap
extends the built-inMap
interface. - Concise code. Some methods use recursion for more compact code. e.g. most methods in
TreeMap
and thefind
method inUnionFind
. These methods' time complexity is no worse than O(n) so it's not likely to reach the call stack limit. - No external dependencies
Copy and paste code. Or use a package manager:
npm install standard-library-extensions
import { binarySearch } from "standard-library-extensions";
npm publish
It automatically publishes the package when a new release is created.