TypeScript Collections is a fully tested library of generic data structures for TypeScript and JavaScript applications. It provides linked lists, dictionaries, trees, stacks, queues, sets, bags, heaps, and priority queues. Generic typing lets editors provide autocomplete while the compiler checks the types stored in each collection. The package supports ES module imports, TypeScript require syntax, CommonJS, browser scripts, and Universal Module Definition builds. It also includes array utilities, customizable object equality through string conversion, and a default dictionary inspired by Python. Broad browser and Node.js compatibility make it a practical option for projects that need classic collections beyond native arrays and objects.

Features

  • Generic data structures
  • Dictionaries and linked lists
  • Stacks and queues
  • Trees heaps and priority queues
  • UMD and CommonJS support
  • Browser and Node.js compatibility

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow TypeScript Collections

TypeScript Collections Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TypeScript Collections!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Libraries

Registered

21 hours ago