Skip to main content

Built and signed on GitHub Actions

This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
82%
Published
7 hours ago (0.0.8)
function createDrizzle
createDrizzle<TSchema extends Record<string, unknown> = Record<string, never>>(config: DrizzleConfig<TSchema>): CreateDrizzleReturnType<TSchema>

Helper function to create all function with hooks configured with your drizzle client config and schema types.

Type Parameters

TSchema extends Record<string, unknown> = Record<string, never>

Parameters

Drizzle Config object

Return Type

Add Package

deno add jsr:@makisuo/pglite-drizzle

Import symbol

import { createDrizzle } from "@makisuo/pglite-drizzle/react";

---- OR ----

Import directly with a jsr specifier

import { createDrizzle } from "jsr:@makisuo/pglite-drizzle/react";

Add Package

npx jsr add @makisuo/pglite-drizzle

Import symbol

import { createDrizzle } from "@makisuo/pglite-drizzle/react";

Add Package

yarn dlx jsr add @makisuo/pglite-drizzle

Import symbol

import { createDrizzle } from "@makisuo/pglite-drizzle/react";

Add Package

pnpm dlx jsr add @makisuo/pglite-drizzle

Import symbol

import { createDrizzle } from "@makisuo/pglite-drizzle/react";

Add Package

bunx jsr add @makisuo/pglite-drizzle

Import symbol

import { createDrizzle } from "@makisuo/pglite-drizzle/react";