{"library":"duckdb-async","type":"library","category":null,"description":"duckdb-async provides Promise-based and TypeScript-first wrappers for the DuckDB NodeJS API, allowing developers to interact with DuckDB databases using modern `async/await` patterns instead of traditional callbacks. Currently at version 1.4.2, its releases have historically aligned with the `duckdb-node` module, which it depends on. A key differentiator is its comprehensive TypeScript support and the conversion of most callback-driven methods in `duckdb-node`'s `Database`, `Connection`, and `Statement` classes into promise-returning equivalents. Notably, the `Database` constructor is replaced by a static `Database.create()` factory method to accommodate async initialization. However, it's critical to note that `duckdb-async` is currently in a deprecated state; the maintainers have announced that it, along with `duckdb-node`, will not be released for DuckDB 1.5.x (~Early 2026) and subsequent versions. Users are advised to migrate to the newer `@duckdb/node-api` package for ongoing support and future compatibility.","language":"javascript","status":"deprecated","version":"1.4.2","tags":["javascript","duckdb","database","typescript","promise"],"last_verified":"Wed May 27","install":[{"cmd":"npm install duckdb-async","imports":["import { Database } from 'duckdb-async';","import { Connection } from 'duckdb-async';","import { Statement } from 'duckdb-async';","const { Database, Connection } = require('duckdb-async');"]},{"cmd":"yarn add duckdb-async","imports":[]},{"cmd":"pnpm add duckdb-async","imports":[]}],"homepage":null,"github":"https://github.com/motherduckdb/duckdb-async","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/duckdb-async","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/duckdb-async/compatibility"}}