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]>
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