# ZenStack

TypeScript database toolkit with a schema-first ORM, built-in access control and generated query APIs.


Source: https://findsoftware.frbit.cloud/zenstack/
Last reviewed: 2026-11-17
Listed since: 2026-11-17

## Record

### Links

- home: https://zenstack.dev
- repository: https://github.com/zenstackhq/zenstack
- docs: https://zenstack.dev/docs/
- plugins: https://zenstack.dev/docs/community-packages
- x: https://x.com/zenstackhq
- discord: https://discord.gg/Ykhr738dUe

### Identity

- status: active
- maintainer: ZenStack Dev, Inc.
- maintainerType: company
- parent: unknown
- firstRelease: 2022
- hqCountry: unknown

### Kind

- category: library
- hosting: node, bun
- language: javascript
- runtime: node, bun
- runtimeMin: node 20
- basedOn: kysely

### Content

- contentStore: not applicable
- databases: postgres, mysql, sqlite
- adminUi: yes
- headlessApi: rest
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm create, npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 3
- latestReleaseDate: 2026-11-13

### Adoption

- githubStargazers: 2965
- packagistDownloads: not applicable
- npmWeeklyDownloads: 95979
- contributors: 89
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://zenstack.dev/ (read 2026-11-17)
- urls: https://api.github.com/repos/zenstackhq/zenstack (read 2026-11-17)
- urls: https://zenstack.dev/docs/ (read 2026-11-17)
- firstRelease: https://registry.npmjs.org/zenstack (read 2026-11-17)
- maintainer: https://zenstack.dev/ (read 2026-11-17)
- maintainerType: https://zenstack.dev/ (read 2026-11-17)
- category: https://raw.githubusercontent.com/zenstackhq/zenstack/dev/README.md (read 2026-11-17)
- basedOn: https://zenstack.dev/ (read 2026-11-17)
- language: https://api.github.com/repos/zenstackhq/zenstack (read 2026-11-17)
- runtime: https://raw.githubusercontent.com/zenstackhq/zenstack/dev/README.md (read 2026-11-17)
- runtimeMin: https://zenstack.dev/docs/prerequisite (read 2026-11-17)
- databases: https://zenstack.dev/docs/migrate-prisma (read 2026-11-17)
- headlessApi: https://zenstack.dev/docs/service/api-handler (read 2026-11-17)
- adminUi: https://zenstack.dev/docs/studio (read 2026-11-17)
- installMethod: https://raw.githubusercontent.com/zenstackhq/zenstack/dev/README.md (read 2026-11-17)
- installMethod: https://raw.githubusercontent.com/zenstackhq/zenstack/dev/README.md (read 2026-11-17)
- license: https://raw.githubusercontent.com/zenstackhq/zenstack/dev/LICENSE (read 2026-11-17)
- licenseModel: https://raw.githubusercontent.com/zenstackhq/zenstack/dev/LICENSE (read 2026-11-17)
- currentMajor: https://api.github.com/repos/zenstackhq/zenstack/releases/tags/v3.10.2 (read 2026-11-17)
- latestReleaseDate: https://api.github.com/repos/zenstackhq/zenstack/releases/tags/v3.10.2 (read 2026-11-17)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@zenstackhq/orm (read 2026-11-17)
- githubStargazers: https://api.github.com/repos/zenstackhq/zenstack (read 2026-11-17)
- contributors: https://api.github.com/repos/zenstackhq/zenstack/contributors?per_page=1 (read 2026-11-17)
- urls: https://zenstack.dev/docs/community-packages (read 2026-11-17)

## Notes

ZenStack is a TypeScript database toolkit: a schema file defines the data model, and an ORM reads and writes the database from it. The ORM is built on Kysely and offers a query API compatible with Prisma's, and the [migration guide](https://zenstack.dev/docs/migrate-prisma) covers moving an existing Prisma project. A query service can serve the model as RESTful web APIs, and ZenStack Studio is a database studio started from the command line. Built-in access control belongs to the same toolkit.

The packages are installed from npm under the `@zenstackhq` scope, and `npm create zenstack` scaffolds a new project. The repository is a monorepo, so its stars and contributors cover every package. ZenStack Dev, Inc. maintains it.

## Worth knowing

The docs name Node.js 20 as the minimum, while the published packages declare Node.js 22. The project began as an extension of Prisma ORM, and its current major line removed Prisma as a runtime dependency.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
