This commit is contained in:
Will Jones
2023-05-23 18:09:17 -07:00
parent 5e0ff01879
commit e762a4db4b
10 changed files with 60 additions and 16 deletions

View File

@@ -35,6 +35,11 @@ npm run pack-build
npm install --no-save ./dist/vectordb-*.tgz
```
`npm run build` builds the Rust library, `npm run pack-build` packages the Rust
binary into an npm module called `@vectordb/<platform>` (for example,
`@vectordb/darwin-arm64.node`), and then `npm run install ...` installs that
module.
The LanceDB javascript is built with npm:
```bash