# db0

> Lightweight SQL Connector

Latest version **0.4.1** (published 2026-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install db0
pnpm add db0
yarn add db0
bun add db0
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2026-09-03 |
| First published | 2023-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 97.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 355 |
| Maintainers | pi0 |

## Links

- npm: https://www.npmjs.com/package/db0
- Repository: https://github.com/unjs/db0
- Homepage: https://github.com/unjs/db0#readme
- Issues: https://github.com/unjs/db0/issues
- npm.io page: https://npm.io/package/db0

## Recent versions

- 0.4.1 (latest) — 2026-09-03
- 0.4.0 — 2026-08-20
- 0.3.4 — 2025-10-01
- 0.3.3 — 2025-10-01
- 0.3.2 — 2025-04-18
- 0.3.1 — 2025-02-26
- 0.3.0 — 2025-02-26
- 0.2.4 — 2025-02-11
- 0.2.3 — 2025-01-27
- 0.2.2 — 2025-01-27
- 0.2.1 — 2024-10-13
- 0.2.0 — 2024-10-09
- 0.1.4 — 2024-03-08
- 0.1.3 — 2024-02-27
- 0.1.2 — 2024-02-26
- … 9 more at https://npm.io/package/db0/versions

## README

# DB0

<!-- automd:badges color=yellow -->

[![npm version](https://img.shields.io/npm/v/db0?color=yellow)](https://npmjs.com/package/db0)
[![npm downloads](https://img.shields.io/npm/dm/db0?color=yellow)](https://npm.chart.dev/db0)

<!-- /automd -->

> [!IMPORTANT]
> DB0 development is in the early stages. Track progress via [GitHub issues](https://github.com/unjs/db0/issues).

DB0 is a lightweight SQL connector:

✅ Works with several SQL [connectors](https://db0.unjs.io/connectors).

✅ Can be [integrated](https://db0.unjs.io/integrations) with ORMs and embedded into frameworks.

✅ Provides a simple but elegant query API out of the box.

👉 Read [📚 Documentation](https://db0.unjs.io)

## Contribution

<details>
  <summary>Local development</summary>

- Clone this repository
- Install the latest LTS version of [Node.js](https://nodejs.org/en/)
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
- Install dependencies using `pnpm install`
- Run tests using `pnpm dev` or `pnpm test`

</details>

<!-- /automd -->

## License

<!-- automd:contributors license=MIT author="pi0" -->

Published under the [MIT](https://github.com/unjs/db0/blob/main/LICENSE) license.
Made by [@pi0](https://github.com/pi0) and [community](https://github.com/unjs/db0/graphs/contributors) 💛
<br><br>
<a href="https://github.com/unjs/db0/graphs/contributors">
<img src="https://contrib.rocks/image?repo=unjs/db0" />
</a>

<!-- /automd -->

<!-- automd:with-automd -->

---

_🤖 auto updated with [automd](https://automd.unjs.io)_

<!-- /automd -->

---
_Source: https://npm.io/package/db0 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
