lomboksimhash
v0.1.0
Published
Locality-sensitive hashing for near-duplicate document detection. SimHash, MinHash, LSH, SHA-256, and shingling.
Maintainers
Readme
LombokSimHash (TypeScript)
Near-duplicate document detection for RAG pipelines — SimHash, MinHash, LSH, SHA-256, and shingling. Pure TypeScript with BigInt, zero dependencies.
npm install lomboksimhashimport { simhash64Text, hamming64, MinHasher, jaccardEstimate, LshIndex } from 'lomboksimhash';
const a = simhash64Text('the quick brown fox jumps over the lazy dog');
const b = simhash64Text('the quick brown cat jumps over the lazy dog');
console.log(hamming64(a, b)); // 8Part of LombokRAGFrameworks. Full docs in the main repository.
License: Apache-2.0
