standard-library-extensions
v1.0.0
Published
JavaScript standard library extensions for building complex and scalable web applications.
Downloads
7
Readme
Standard Library Extensions
JavaScript standard library extensions for building complex and scalable web applications.
Design choices
- 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
Install
Copy and paste code. Or use a package manager:
npm install standard-library-extensions
import { binarySearch } from "standard-library-extensions";
Release
npm publish
It automatically publishes the package when a new release is created.