open-index/open-npm huggingface dataset:
npm package: @louwers/duckdb-node-bindings-freebsd-x64
Description: Binaries supporting [Node](https://nodejs.org/) bindings to the [DuckDB C API](https://duckdb.org/docs/api/c/overview) for FreeBSD x64.
Latest version: 1.3.2-r4

# DuckDB Node Bindings: FreeBSD x64

Binaries supporting [Node](https://nodejs.org/) bindings to the [DuckDB C API](https://duckdb.org/docs/api/c/overview) for FreeBSD x64.

See [@duckdb/node-bindings](https://www.npmjs.com/package/@duckdb/node-bindings) for a low-level API that uses these binaries, or [@duckdb/node-api](https://www.npmjs.com/package/@duckdb/node-api) for a high-level API built on those bindings.

## How to use

Install `@louwers/duckdb-node-bindings-freebsd-x64` and matching `@duckdb/node-api` version.

```
npm install @louwers/duckdb-node-bindings-freebsd-x64@1.3.2-r4
npm install @duckdb/node-api@1.3.2-alpha.26
```

**NOTE:** FreeBSD 15 is required

Now you have to patch `duckdb.js`:

```js
case 'freebsd-x64':
  return require('@louwers/duckdb-node-bindings-freebsd-x64/duckdb.node');
```

If everything is well, running the following script:

```js
import duckdb from '@duckdb/node-api';

console.log(duckdb.version());
```

Should result in:

```sh
node script.js
v1.3.2
```