Files
modules/indexes-search/hyper-p2p-trie-prefix
Raven ScottandCursor de7dcc38be Expand consensus, agents, indexes, economy, pear, and observability modules
Add raft clearLog and logEntryAt, workflow nodeIds and failAllPending,
runtime session endAllActive, message envelope resetStats, trie removeBatch,
fulltext and marketplace clear helpers, credit accountCount, trace span
bulk end, link probe clearAll, import map clearAll, grow-only set clearAll,
and geo router peer listing utilities.

Co-authored-by: Cursor <[email protected]>
2026-05-21 02:58:47 -04:00
..
2026-05-20 23:36:32 -04:00
2026-05-20 22:56:32 -04:00
2026-05-21 00:07:44 -04:00
2026-05-20 21:57:50 -04:00
2026-05-20 21:57:50 -04:00
2026-05-20 22:56:32 -04:00

hyper-p2p-trie-prefix

Prefix trie for autocomplete-style prefixSearch.

Category: indexes-search

Protocol: trie-prefix/v1

When to use

Dictionary lookups, command palettes, or hostname completion by prefix.

When not to use

Fuzzy edit-distance search (use similarity/vector modules).

Quick start

const { HyperP2PTriePrefix } = require('hyper-p2p-trie-prefix')
const t = new HyperP2PTriePrefix()
t.insert('pear')
console.log(t.prefixSearch('pe'))

Docs

Test

npm install && npm test