# @ostro/database

> Database module for OstroJS

Latest version **2.0.0-alpha.5** (published 2026-10-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ostro/database
pnpm add @ostro/database
yarn add @ostro/database
bun add @ostro/database
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.0-alpha.5 |
| Published | 2026-10-22 |
| First published | 2021-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 9 |
| Unpacked size | 890.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 5 |
| Author | amar |
| Maintainers | ostrojs, developeramarkumar |
| Keywords | database, query builder, model, eloquent |

## Links

- npm: https://www.npmjs.com/package/@ostro/database
- Repository: https://github.com/ostrojs/database
- Homepage: https://github.com/ostrojs/database#readme
- Issues: https://github.com/ostrojs/database/issues
- npm.io page: https://npm.io/package/@ostro/database

## Dependencies (9)

- [knex](https://npm.io/package/knex.md) ^3.1.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [sqlite3](https://npm.io/package/sqlite3.md) ^6.0.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.4.1
- [lodash.get](https://npm.io/package/lodash.get.md) ^4.4.2
- [@ostro/console](https://npm.io/package/@ostro/console.md) ^2.0.0-alpha.2
- [@ostro/support](https://npm.io/package/@ostro/support.md) ^2.0.0-alpha.2
- [@ostro/contracts](https://npm.io/package/@ostro/contracts.md) ^2.0.0-alpha.2
- [@ostro/pagination](https://npm.io/package/@ostro/pagination.md) ^2.0.0-alpha.2

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 2.0.0-alpha.5 (latest) — 2026-10-22
- 2.0.0-alpha.4 — 2026-10-22
- 2.0.0-alpha.3 — 2026-10-22
- 2.0.0-alpha.1 — 2026-10-22
- 1.4.6 — 2026-07-21
- 1.4.5 — 2025-09-11
- 1.4.4 — 2025-09-11
- 1.4.3 — 2025-09-10
- 1.4.2 — 2025-09-09
- 1.4.1 — 2025-09-09
- 1.4.0 — 2025-09-08
- 1.3.7 — 2025-07-26
- 1.3.6 — 2025-07-24
- 1.3.5 — 2024-01-31
- 1.3.4 — 2024-01-09
- … 31 more at https://npm.io/package/@ostro/database/versions

## README

<div align="center">
  <h1>OstroJS Framework</h1>
  
</div>
<br />

<div align="center">
  <h3>OstroJS Database</h3>
  <p>Database Module for OstroJS</p>
</div>

<br />

<div align="center">

![][javascript-image] [![license-image]][license-url] [![nodejs-image]][npm-url]

</div>

<div align="center">
  <h3>
    <a href="https://ostrojs.com">
      Website
    </a>
   
  </h3>
</div>

 
[javascript-image]: https://img.shields.io/badge/JS-javascript-green
[javascript-url]:  "javascript"

[nodejs-image]: https://img.shields.io/badge/node-%3E%3D%2012.0.0-green
[npm-url]: https://npmjs.org/package/@ostro/database "npm"

[license-image]: https://img.shields.io/github/license/ostrojs/database
[license-url]: LICENSE.md "license"

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