@zintrust/db-d1
v2.4.1
Published
Cloudflare D1 database adapter for ZinTrust.
Maintainers
Readme
@zintrust/db-d1
Cloudflare D1 database adapter package for ZinTrust.
Docs: https://zintrust.com/package-db-d1
Install
npm i @zintrust/db-d1Usage
Register the adapter at startup:
import '@zintrust/db-d1/register';Then select the adapter in your config/env (the registered driver key is d1).
Note: D1 is a Cloudflare Workers binding (not a TCP database). You typically use this inside a Worker with a D1 binding (commonly named DB).
Docs
- https://zintrust.com/cloudflare
- https://zintrust.com/adapters
License
This package and its dependencies are MIT licensed, permitting free commercial use.
