---
title: "vectordb.js — Brad Jasper"
description: "vectordb.js (2024), an archived project by Brad Jasper: an in-memory vector database for text similarity search in Node.js."
url: https://bradjasper.com/projects/vectordb-js/
---

[← Code](https://bradjasper.com/code/)

# vectordb.js

Archived · 2024 · JavaScript · AI

Not maintained since 2024.

An in-memory vector database for text similarity search in Node.js.

- [vectordbjs.themaximalist.com](https://vectordbjs.themaximalist.com/)
- [Source on GitHub](https://github.com/themaximalist/vectordb.js)

![vectordb.js logo](https://bradjasper.com/_astro/vectordb.CmXC6T_C_Z1ch2Fy.webp)

Add text, then search for what is similar. vectordb.js handled the embeddings (through [embeddings.js](https://bradjasper.com/projects/embeddings-js/)) and the index (hnswlib) for you, ran entirely in memory and resized itself as it grew.

Part of [ai.js](https://bradjasper.com/projects/ai-js/), which put my AI libraries behind one toolkit.
