JSPM

js-ds-collection

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q30788F
  • License MIT

A collection of clean, testable data structures in modern TypeScript

Package Exports

  • js-ds-collection
  • js-ds-collection/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js-ds-collection) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ds-js

A lightweight, modular, and TypeScript-first collection of commonly used data structures in JavaScript, built for learning, practice, and production use.

npm version GitHub license


โœจ Features

  • ๐Ÿงฑ Classic data structures like Stack, Queue, LinkedList, Heap, Tree, Trie, Union-Find, Segment Tree
  • โšก Fully type-safe with TypeScript generics
  • ๐Ÿงช 100% unit-tested with Vitest
  • ๐Ÿ“ฆ Tree-shakable and ready for modern builds
  • ๐Ÿ“š Great for DSA practice, interviews, or educational use

๐Ÿ“ฆ Installation

npm install ds-js