Open source from QuokkaQuery
Libraries we wrote for our own tools and then pulled out so you can use them too. All TypeScript, all MIT, all on npm.
Graph
@quokkaquery/graphAn in-memory graph with typed nodes and edges. BFS, DFS, Dijkstra, topological sort, cycle detection, and connected components.
npm install @quokkaquery/graphGraph algorithms
@quokkaquery/graph-algorithmsThirty-plus classic algorithms on top of Graph: shortest paths, spanning trees, centrality, PageRank, max flow, and community detection.
npm install @quokkaquery/graph-algorithmsDepends on
@quokkaquery/graph, installed for you.Knowledge graph
@quokkaquery/knowledge-graphTyped entities and relations on top of Graph. Triple-pattern queries, type and label indexes, transitive inference, subgraph extraction, and JSON round-trips.
npm install @quokkaquery/knowledge-graphDepends on
@quokkaquery/graph, installed for you.Elo
@quokkaquery/eloElo ratings with pluggable K-factor strategies and a rating pool that tracks players, matches, and history.
npm install @quokkaquery/eloTrueSkill
@quokkaquery/trueskillBayesian skill ratings for 1v1, teams, and free-for-all matches, with draw handling and match quality. Zero dependencies.
npm install @quokkaquery/trueskillWave Function Collapse
@quokkaquery/wfcA Wave Function Collapse solver for 2D grids, 3D volumes, or any graph. Overlapping and tiled models, seeded runs, backtracking, and retries. Zero dependencies.
npm install @quokkaquery/wfcHeaps
@quokkaquery/heapFive priority queues: binary, keyed with decrease-key, min-max with a size cap, mergeable pairing, and radix for integer-key Dijkstra. Plus top-k, k-way merge, and heap sort. Zero dependencies.
npm install @quokkaquery/heap
Why we publish these
Each one started inside a product. Ratings for ranking ideas, graphs for mapping a codebase, Wave Function Collapse for generating layouts. Once a piece stood on its own, we gave it a README and a test suite and put it on npm.
Found a bug or want a feature? Open an issue on GitHub or emailcontact@quokkaquery.com.