Node.js: How Do I Pass A Vector To A Function?
Getting Started with Vector Databases in Node.js
I built an embedded vector database for Node.js – would love your feedback!
Use a local vector store in the browser?
» npm install vectors
» npm install node-vector
» npm install anki-vector-nodejs
Hey folks,
I built an npm package called embedded-vector-db – a simple, lightweight vector database that runs entirely in memory and is designed to be easy to use directly in your Node.js app. No Docker, no external servers, no complicated setup.
It’s ideal for small to mid-scale use cases like:
local semantic search prototyping LLM apps quick demos without a full vector DB stack embedded search inside Electron apps or tools
Features:
Supports cosine similarity out of the box Fast nearest-neighbor queries Works with plain JavaScript arrays or Float32Arrays TypeScript support
I’d love to get your thoughts on:
Use cases you’d want this for What’s missing / could be improved Naming and API feedback
Here’s the GitHub repo if you want to peek into the code:
https://github.com/pguso/embedded-vector-db
Really appreciate any feedback especially from folks working with LLMs, embeddings, or search tools. Thanks!