lombokvector
v0.1.0
Published
Vector math with bit-identical results across TypeScript, Rust, Python, Go and PHP: dot product, cosine similarity, L2 distance, normalization, batch ranking. Zero dependencies. Part of the Lombok Ecosystem.
Maintainers
Readme
LombokVector for TypeScript
npm package lombokvector (binary64, Node.js 20+, browsers, Deno, Bun): dot product, cosine similarity, Euclidean distance, normalization, and batch ranking with results that are bit-identical to the other LombokVector ports. Zero runtime dependencies.
npm install lombokvectorThe summation order and every operation are defined in docs/SPEC_LombokVector_v0.1.0.md; this port reproduces the shared vector file bit for bit in CI. Usage for all languages: main README and docs/API_LombokVector_v0.1.0.md.
License: Apache-2.0.
