0.1.4 • Published 9 months ago

@nerdfolio/drizzle-d1-proxy v0.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

drizzle-d1-proxy

Why is this needed?

Facilitate access to d1 via drizzle sqlite proxy. As of May 2025, drizzle-kit has a d1-http driver option but it's not exported, thus not useable in typical drizzle-orm scenarios.

For simplicity, actual interaction with Cloudflare is done via cloudflare SDK

Installation

pnpm add @nerdfolio/drizzle-d1-proxy

Usage

import {drizzle as drizzleD1Proxy}

const db = drizzleD1Proxy({ accountId, token, databaseId })

// Then use db just like any other Drizzle Sqlite db
0.1.4

9 months ago

0.1.2

9 months ago

0.1.1

10 months ago

0.1.0

10 months ago