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.
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/.
Copyright © 2025 Frog Chen. Licensed under the MIT license.