ignlg / heap-js
Efficient Binary heap (priority queue, binary tree) data structure for JavaScript / TypeScript. Includes JavaScript methods, Python's heapq module methods, and Java's PriorityQueue methods.
☆141Updated 3 months ago
Alternatives and similar repositories for heap-js:
Users that are interested in heap-js are comparing it to the libraries listed below
- Deterministic JSON.stringify() - a faster version of @substack's json-stable-strigify without jsonify.☆299Updated last year
- Unicode character splitter☆150Updated 2 years ago
- Check where your code is running. In the browser or in node.js environment.☆248Updated 4 months ago
- Same as React's useCallback, but returns a stable reference.☆224Updated 2 years ago
- Heap data structure☆88Updated 8 months ago
- Type safe object field string paths for typescript.☆127Updated last year
- A reasonably fast in-memory B+ tree with a powerful API based on the standard Map. Small minified. Well documented.☆220Updated last year
- Safe, deterministic and fast serialization alternative to JSON.stringify.☆213Updated 3 months ago
- Compare two objects using accessed properties with Proxy☆302Updated this week
- prints a dependency graph in dot/mermaid format for your typescript/react project☆195Updated 10 months ago
- Graph & Directed Graph data structures☆41Updated 2 years ago
- Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.☆135Updated this week
- JavaScript Object like api, backed by an arraybuffer☆176Updated 10 months ago
- Allows users to use generators in order to write common functions that can be both sync or async.☆89Updated 2 years ago
- Preserves types over JSON, BSON or socket.io☆69Updated 7 months ago
- javascript realms security resources☆33Updated last year
- Shows how fat is a package☆96Updated last year
- An SQLite binding for node.js with built-in encryption, focused on simplicity and (async) performance☆40Updated 2 weeks ago
- Extend native Error to create custom errors☆163Updated this week
- Code writer for JavaScript and TypeScript code.☆203Updated 5 months ago
- Higher order iterator library for JavaScript and TypeScript.☆57Updated 2 months ago
- RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching☆148Updated this week
- Debounce promise-returning & async functions☆215Updated 11 months ago
- Use @swc-node/register instead☆86Updated 3 years ago
- Scheduler for long-running tasks inside browsers and Node.JS☆66Updated 2 years ago
- Like `require-in-the-middle`, but for ESM import☆135Updated last month
- Checks TypeScript types match expected values☆246Updated 9 months ago
- A structuredClone polyfill☆298Updated 2 months ago
- Pure random number generator written in TypeScript☆86Updated last week
- Examples demonstrating the Node.js ECMAScript Modules Loaders API☆56Updated 3 months ago