TypeScript Collections

JSON →
library 1.3.3 ·javascript maintenance
verified May 27, 2026

typescript-collections is a robust and fully tested data structure library written in TypeScript, currently at version 1.3.3. It provides a comprehensive suite of common data structures, including Linked Lists, Dictionaries (regular, multi, and default), Binary Search Trees, Stacks, Queues, Sets, Bags, Binary Heaps, and Priority Queues, alongside array utility functions. The library leverages TypeScript Generics to offer strong type safety and enhanced developer experience through IntelliSense. It supports UMD (Universal Module Definition), making it suitable for use in Node.js, modern browsers, and other JavaScript environments. A key design aspect for its hashing-based collections (like `Dictionary` and `Set`) is the reliance on an item's `toString()` method for equality checks, necessitating custom implementations for non-primitive keys to ensure correct behavior. The package was last published 6 years ago, suggesting it is in a maintenance phase with infrequent updates.

total hits 16
actors 7 distinct systems
last hit 1d ago MJ12bot
GPTBot
5
MetaBot
4
Script
1
ChatGPT-User
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇦🇺 Australia · 🇩🇪 Germany · 🇫🇷 France