Files
modules/indexes-search/hyper-p2p-trie-prefix
Raven ScottandCursor 4b65b75327
Hyper-P2P Module Tests / unit-all (push) Failing after 1h13m56s
feat(pear,storage,network,indexes): manual API expansion batch
Runtime session touch/purge, target matrix filters, channel aliases,
storage snapshot, light-writer dropLast, noise session purge, trie bulk
insert, graph reachable/toJSON.

Co-authored-by: Cursor <[email protected]>
2026-05-21 02:28:21 -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