npm install usearch§ Building From Source
The addon links against the C interface as a static archive, so usearch.node carries the engine inside it rather than beside it. cmake-js compiles it, and prebuild stages it where node-gyp-build looks:
npm run prebuild
npm run build-js
npm testThe addon carries the dense storage types its CMake configure compiled: npm run build-native and the prebuilt addons pass USEARCH_DENSE_DTYPES=11, while a plain configure compiles bf16, u1x8, i8 and e4m3 alone, and the suite skips the kinds such a build refuses.