Revert "feat(node): pull node binaries into separate packages (2) (#1… (#206)

…97)"

This reverts commit 0724d41c4b.
This commit is contained in:
gsilvestrin
2023-06-16 18:15:49 -07:00
committed by GitHub
parent cc7e54298b
commit 8708fde3ef
11 changed files with 32 additions and 392 deletions

View File

@@ -8,10 +8,6 @@ A JavaScript / Node.js library for [LanceDB](https://github.com/lancedb/lancedb)
npm install vectordb
```
This will download the appropriate native library for your platform. We currently
support x86_64 Linux, aarch64 Linux, Intel MacOS, and ARM (M1/M2) MacOS. We do not
yet support Windows or musl-based Linux (such as Alpine Linux).
## Usage
### Basic Example
@@ -28,34 +24,18 @@ The [examples](./examples) folder contains complete examples.
## Development
To build everything fresh:
The LanceDB javascript is built with npm:
```bash
npm install
npm run tsc
npm run build
```
Then you should be able to run the tests with:
Run the tests with
```bash
npm test
```
### Rebuilding Rust library
```bash
npm run build
```
### Rebuilding Typescript
```bash
npm run tsc
```
### Fix lints
To run the linter and have it automatically fix all errors
```bash