Licence
Apache-2.0
Version
1.0.0
Deps
0
Size
62 kB
Vulns
0
Weekly
0
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.
TreeMapextends the built-inMapinterface. - Concise code. Some methods use recursion for more compact code. e.g. most methods in
TreeMapand thefindmethod 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.