1.0.0 • Published 4 years ago
standard-library-extensions v1.0.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-extensionsimport { binarySearch } from "standard-library-extensions";Release
npm publishIt automatically publishes the package when a new release is created.