Packaging

The published npm release is split into:

In normal use you install indexbind only. npm resolves the matching native package automatically when a supported prebuilt target exists.

Current Native Support

Published native prebuilds currently cover:

Windows native prebuilds are not published. On Windows, use WSL for:

If a prebuilt package is unavailable for your environment, install and build in a Rust toolchain environment instead of assuming npm can resolve a matching native binary.

What Ships in the npm Package

The root package contains:

The browser and worker entrypoints still come from the root package even when your host development machine is Windows. The current guidance is simply to do the install and build side inside WSL.

What Ships in the Canonical Bundle

The canonical bundle contains your retrieval data:

When you build with model2vec, these files are copied into the bundle:

Those model files are not shipped inside the root npm package.