@zintrust/db-d1
v0.4.86
Published
Cloudflare D1 database adapter for ZinTrust.
Downloads
2,280
Maintainers
Readme
@zintrust/db-d1
Cloudflare D1 database adapter package for ZinTrust.
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.
