DuckDB Node Neo
A strong pick. 7th of 10 database drivers.
DuckDB Node Neo (@duckdb/node-api) is DuckDB's official, Promise-based Node.js client. It replaces the deprecated `duckdb` package and is now the clear pick for running embedded analytical SQL from Node. It is a strong choice for that niche, but not a general-purpose database driver.
Best for: Node.js and TypeScript projects that need embedded, in-process analytics over Parquet, CSV, JSON or local tables with DuckDB.
Scores
Overall7.4
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
For anyone who needs DuckDB in Node, this is the official and only sensible choice. It is actively maintained, typed and fast-growing. It is not a general app-database driver, it still has some feature gaps, and its 2025 supply-chain incident calls for pinned, verified installs. It is a strong pick for analytical workloads, below general drivers like node-postgres for typical web apps.
- duckdb.org/docs/2.0/clients/node_neo/overview.html: Stable 2.0.0 with stated remaining gaps
- npm downloadsSame4WeeksYearAgo: Growth far above median
- advisories total: Brief malware incident in 2025
GPT-6.2 Sol: 7.8, likely 6.7 to 8.8
Neo is the driver to start with for embedded DuckDB analytics in Node.js. Streaming, bulk appends, and precise type conversions make it a strong fit, and releases track the supported engine. Arrow gaps and the young 2.0 release leave some uncertainty around advanced workloads. For shared transactional applications, node-postgres is the stronger choice.
- npmjs.com/package/%40duckdb/node-api: Documents the stable native API and its query, streaming, and bulk ingestion features.
- github.com/duckdb/duckdb-node-neo/releases: Shows active releases and the recent major-version changes.
- duckdb.org/docs/2.0/clients/node_neo/overview: Documents supported platforms and outstanding Arrow work.
- duckdb.org/docs/2.0/connect/concurrency: Embedded read-write use is confined to one process, with separate options for shared writes.
- peers node-postgres: The PostgreSQL peer has much broader measured repository adoption.
Needed by many3.6
How many developers need a tool for this job?
Claude Opus 5.5: 3.5, likely 2.5 to 5.0
Most JS developers who need a database driver use Postgres, MySQL, SQLite or MongoDB. Embedded analytics with DuckDB is a clear and growing niche, used for data apps, ETL scripts and local analytics. It also serves only Node-style runtimes with native addons.
- duckdb.org/2024/12/18/duckdb-node-neo-client.html: Node client for DuckDB, an in-process analytical database
- peers downloadsLast4Weeks: General-purpose drivers like node-postgres have 390M downloads in 4 weeks against 14.5M
GPT-6.2 Sol: 3.6, likely 2.6 to 4.7
Database drivers serve a large share of backend projects, and Neo serves the smaller group running DuckDB from Node.js. Its main uses are embedded analytics and querying data files. In the 2026 Stack Overflow survey, 5.7% of database respondents reported using DuckDB across all languages, so the share that needs this particular driver is uncertain.
- survey.stackoverflow.co/2026/technology/data: DuckDB use was 5.7%, compared with 57.9% for PostgreSQL and 42.1% for SQLite.
- duckdb.org/docs/2.0/clients/node_neo/overview: Native Node.js client with in-memory and file-backed database support.
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
The client is typed and Promise-based. It covers the main jobs well: prepared statements, lazy streaming, the appender, value objects for complex types and JSON conversion. The docs still list unfinished areas such as MAP/UNION binding and user-defined types, and earlier builds had segfault regressions. It is the best way to use DuckDB from Node, but the gaps keep it below the top.
- duckdb.org/docs/2.0/clients/node_neo/overview.html: Latest stable 2.0.0; appender, prepared statements, streaming, JSON; some features not complete
- github.com/duckdb/duckdb-node-neo/issues/220: A segfault regression reported in an alpha build
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 7.9, likely 6.8 to 8.9
The stable 2.0.1-r.1 release provides prepared queries, lazy streaming, bulk appends, and precise conversions for DuckDB values. The typed examples give developers and coding agents a clear starting point for common queries, while connection cleanup takes care in streaming code. Direct Arrow support is missing, some VARIANT operations still fail, and independent performance tests cover specific workloads.
- github.com/duckdb/duckdb-node-neo/releases/tag/v2.0.1-r.1: Current stable release updates the engine and corrects pre-1970 timestamp rounding.
- npmjs.com/package/%40duckdb/node-api: Typed API examples document result conversion, appenders, and streaming cleanup.
- duckdb.org/docs/2.0/clients/node_neo/overview: The client roadmap still lists Arrow APIs.
- github.com/duckdb/duckdb-node-neo/issues/524: The Node-side fix for VARIANT logical types is queued for the next release.
- github.com/photostructure/node-vector-bench: Independent vector-search testing found query overhead and high memory use in that workload.
Holds up over time7.7
Will it still be a good choice in two years?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
DuckDB Labs maintains it as the official Primary-tier Node client, and the old package is deprecated in its favour, so the ecosystem is moving towards it. Activity is steady: 285 commits and 4 releases in the last year, with 299 merged PRs against 33 open issues. Much of the work appears to rest on a small core team. Versions also track DuckDB's own releases, and a 2.0 major has just shipped.
- github commitsLastYear: 285 commits, 26 contributors
- github latestRelease: v2.0.1-r.1 published 2026-11-20
- duckdb.org/docs/1.4/clients/nodejs/overview.html: Old duckdb Node package deprecated; users told to use Neo
GPT-6.2 Sol: 7.8, likely 6.6 to 8.8
Neo is a primary DuckDB client and the official successor to the deprecated Node driver. Its 285 commits in the past year and the November patch show active maintenance. The dated release history gives a clearer picture of cadence than the bundle's zero npm versions count. Recent releases are concentrated around one maintainer, and the 2.0 upgrade changed streaming behavior.
- github commitsLastYear, contributors, releasesLastYear: 285 commits, 26 contributors, and four GitHub releases recorded.
- github.com/duckdb/duckdb-node-neo/releases: Recent releases share one publisher, and the 2.0 notes document breaking behavior changes.
- github.com/duckdb/duckdb-node-neo/discussions/categories/announcements: Dated package announcements establish repeated releases before 2.0.
- duckdb.org/docs/2.0/clients/overview: DuckDB gives Neo primary support and names its maintainer.
- github.com/duckdb/duckdb-node: The deprecated legacy driver directs users to Neo.
Used widely5.2
How many use it, and is that growing?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Downloads rose from 0.43M to 14.5M per 4 weeks, a ratio of about 34 against a median of 4.1. Much of that comes from migration off the deprecated `duckdb` package and from tools that install it, so direct choices are probably in the tens of thousands. Stars and social attention are low, and there is no dependents count.
- npm downloadsLast4Weeks: 14,463,119 now vs 430,524 a year ago
- github stars: 200 stars
- bluesky posts: Only 1 post links the repo
GPT-6.2 Sol: 4.8, likely 3.2 to 6.3
Four-week npm downloads reached 14.5 million, up 33.6 times year over year against the catalog median of 4.1 times. That is a strong growth signal, with some of the increase likely coming from migration off the old driver. Installs remain well below node-postgres and better-sqlite3, and CI and downstream installs can inflate the totals. npm lists 340 dependent packages, while the missing ecosyste.ms count leaves direct repository adoption uncertain.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 14.46 million downloads versus 430,524 a year earlier, with a 4.1 times catalog baseline.
- peers node-postgres and better-sqlite3: Both peers have substantially more installs and established dependent repository counts.
- github stars, bluesky posts, dependents: 200 repository stars, one Bluesky link post, and no ecosyste.ms count.
- npmjs.com/package/%40duckdb/node-api: npm lists 340 dependent packages.
- github.com/duckdb/duckdb-node: Deprecation directs existing Node users to Neo.
Vouched for6.4
Who stands behind it being good?
Claude Opus 5.5: 5.5, likely 4.0 to 7.0
DuckDB's makers stand behind it, and DuckDB itself is widely trusted for analytics. The Node client in particular has few independent reviews or benchmarks, and its Hacker News posts got little discussion. Its validation rests mostly on the official backing and DuckDB's reputation.
- duckdb.org/2024/12/18/duckdb-node-neo-client.html: Official announcement by DuckDB
- hackerNews top: Two posts with 4 points and no comments
- DuckDB adoption: DuckDB the engine is widely used in production analytics
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
Observable supports Neo in Notebook Kit, SQLRooms ships it in its Node connector, and Lightdash uses it in its production image build. A developer reported low latency from a Node analytics service, while an independent vector-search benchmark found limits for its workload. The survey measures satisfaction with DuckDB as a database, and evidence for the new 2.0 client in production is still limited.
- observablehq.github.io/notebook-kit/databases: Observable documents Neo as the native DuckDB driver for Notebook Kit.
- sqlrooms.org/whats-new.html: SQLRooms ships Neo and documents its Arrow IPC integration.
- github.com/lightdash/lightdash/blob/main/dockerfile: Lightdash checks the installed Neo version against the extensions bundled in its production image.
- reddit.com/r/DuckDB/comments/1v4280o/using_duckdb_as_an_ultralowlatency_sliceanddice: A developer reported fast in-memory queries and described open questions about scaling.
- github.com/photostructure/node-vector-bench: Independent testing found slower vector searches and higher memory use in its specific setup.
- survey.stackoverflow.co/2026/technology/data/da-database: 50.6% of DuckDB users said they wanted to continue using the database.
Safe6.5
How safe is it to depend on?
Claude Opus 5.5: 6.0, likely 4.5 to 7.5
The package has one dependency and an MIT licence. In September 2025, version 1.3.3 was published with wallet-drainer malware after a maintainer was phished. The team deprecated it, had it removed and re-released within hours, but the bad versions were live for a while. It loads native binaries, and there is no Scorecard data to show how its publishing is hardened.
- advisories recent: GHSA-w62p-hx95-gf2c and MAL-2025-46992: brief malware compromise
- socket.dev/blog/duckdb-npm-account-compromised-in-continuing-supply-chain-attack: Phishing-led compromise, part of the Qix campaign
- nvd.nist.gov/vuln/detail/CVE-2025-59037: CVE record; fixed versions 1.3.4 re-released
- npm dependencies: 1 dependency
GPT-6.2 Sol: 7.0, likely 5.8 to 8.1
The MIT-licensed package has one direct dependency, which loads the native DuckDB binaries. Both advisory records describe the same September 2025 npm compromise, which maintainers detected within four hours and addressed by removing the affected release, replacing it, and rotating credentials. The current GitHub Actions workflow uses npm trusted publishing. The missing OpenSSF Scorecard and unclear number of people with publish access leave some uncertainty.
- npm license, npm dependencies, scorecard: MIT license, one direct dependency, and no collected Scorecard.
- github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c: The postmortem records detection, removal, replacement, and credential rotation.
- osv.dev/vulnerability/MAL-2025-46992: The malware record covers the same compromised 1.3.3 release.
- github.com/duckdb/duckdb-node-neo/blob/v2.0.1-r.1/.github/workflows/DuckDBNodeBindingsAndAPI.yml: The tagged workflow configures GitHub OIDC for npm trusted publishing.
Good
- It is the official DuckDB client, and DuckDB lists it as a Primary support tier client in place of the deprecated `duckdb` package.
- The API is Promise-based and ships TypeScript types, with prepared statements, streaming results, an appender and JSON-serializable row output.
- It wraps DuckDB's released C API binaries, so it keeps pace with new DuckDB versions, and prebuilt platform packages avoid local compiles.
- Adoption is growing fast: about 14.5M downloads in 4 weeks against 0.43M a year ago, far above the category median growth.
Bad
- The docs say some features are still incomplete, such as binding and appending MAP and UNION values and user-defined types.
- It runs only on Node with native binaries for a fixed set of platforms. Browser and edge use need the separate duckdb-wasm package.
- Its npm packages were briefly published with wallet-drainer malware in September 2025, after a maintainer account was phished.
- There is little independent write-up or community discussion of the client itself, and it has only 200 GitHub stars.
The numbers
- npm downloads, 4 weeks
- 14M ×34 in a year
- GitHub stars
- 200
- Commits, 12 months
- 285
- npm version
- 2.0.1-r.1 Nov 2026
- Versions, 12 months
- 0
- Advisories, 24 months
- 2 of 2 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (duckdb/duckdb-node-neo), npm (@duckdb/node-api), OSV and the OpenSSF Scorecard.
Database drivers
- 8.7node-postgres
- 8.2MongoDB driver
- 8.1better-sqlite3
- 8.0MySQL2
- 7.6PGlite
- 7.5Postgres.js
- 7.4DuckDB Node Neo
- 7.1Neon serverless driver
- 5.9libSQL client
- 1.9node-sqlite3