# hnswlib-node — card for AI agents

Node.js bindings for HNSW similarity search library for vector operations.

Category: ML and data science · npm package `hnswlib-node` · latest version 3.0.0 (checked 2026-11-01)
Install: `npm install hnswlib-node`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 31.3 (#3969 of all tools, 257 of 293 in its category)
- Used in 1 public projects set up for AI coding agents (0.0%)
- Downloads last week: 122,864 (as of 2026-11-24), +15.4% over 4 weeks
- GitHub stars: 139 (as of 2026-11-24)
- Last push: 2026-11-20

## Often used with
LangChain.js 85.7%, html-to-text 52.4%, jsdom 42.9%, Cheerio 42.9%, OpenAI 42.9%, AWS SDK for JavaScript (S3) 38.1%

## Checked alternatives (same job)
- RaBitQ WASM: https://agentgid.com/tools/ruvector-rabitq-wasm/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/hnswlib-node/
- Homepage: https://github.com/yoshoku/hnswlib-node
- Repository: https://github.com/yoshoku/hnswlib-node

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
