0.5.0 • Published 11 months ago

@rdub/duckdb v0.5.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
11 months ago

@rdub/duckdb

DuckDB+Node.js utilities

@rdub/duckdb on NPM

API

Examples

iRe/www (interactive reports for Jupyter notebooks):

npm.io

Use with Next.js

Inspired by next.js#46493 / node.bcrypt.js#979, you probably want this Webpack config in order to access duckdb-lambda-x86 from a Next.js app:

 /** @type {import('next').NextConfig} */
 const nextConfig = {
   …,
+  webpack: (config) => {
+    config.externals = [...config.externals, 'duckdb', 'duckdb-lambda-x86'];
+    return config;
+  },
 };
 
 module.exports = nextConfig;

Otherwise you'll see errors like:

./node_modules/.pnpm/@mapbox+node-pre-gyp@1.0.11/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html Module parse failed: Unexpected token (1:0)
0.5.0

11 months ago

0.4.1

12 months ago

0.3.0

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago