Work in progress.
Status: All three types of containers work. Published on npm. Polish pending.
sorted-containers is an MIT-licensed ordered collections library written in JavaScript. It aims to be the fastest of its kind.
This library is heavily inspired by the sortedcontainers Python library by Grant Jenks.
- 0 dependencies
- 100% TypeScript
- Isomorphic among browsers, Node.js, and other runtimes
Installing sorted-containers is simple with npm:
npm install sorted-containers
You can access documentation in your editor with IntelliSense for TypeScript. The API is fully documented and discoverable.
Complete documentation for sorted-containers is available at https://satgo1546.github.io/sorted-containers/.
- sorted-containers Documentation
- sorted-containers on npm
- sorted-containers on GitHub
- sorted-containers issue tracker
- sortedcontainers for Python by Grant Jenks
- sorted_containers for Ruby by Garrison Jensen
Copyright © 2025 Frog Chen. Licensed under the MIT license.