voyager-node
v0.1.8
Published
Unofficial Node.js bindings for Spotify's Voyager Library
Downloads
130
Maintainers
Readme
voyager-node
Node.js bindings for Spotify's Voyager approximate nearest neighbor (ANN) search library.
Disclaimer: This package is not affiliated with Spotify or the Voyager team. It is a community-maintained fork providing Node.js integration for Voyager ANN. All credit for the original algorithm and C++ implementation goes to the Spotify Voyager team.
Installation
npm install voyager-nodeUsage
// ES module
import voyager from "voyager-node";
index = Index.loadIndex(filepath);
// ... use voyager-node API ...or
// CommonJS
const voyager = require("voyager-node");
index = Index.loadIndex(filepath);
// ... use voyager-node API ...See the main repository for detailed documentation and examples.
License
Distributed under the same license as the original Voyager project. See LICENSE for details.
