{"library":"zod-sqlite","type":"library","category":null,"description":"Generate type-safe SQLite table schemas from Zod validation schemas, v1.0.2. Requires Node >=24.4.0 and Zod v4 as a peer dependency. Provides a single createTable() function that produces SQL CREATE TABLE and INDEX statements plus a Zod object schema for runtime validation and TypeScript inference. Key differentiators: single source of truth for both database schema and validation, automatic CHECK constraints from Zod rules (min/max, enums, literals), foreign key support, and index management. Released as a new tool bridging Zod and SQLite, with active development.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","zod","sqlite","database","schema","validation","zod-to-sqlite","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install zod-sqlite","imports":["import { createTable } from 'zod-sqlite'","import { z } from 'zod'","import { createTable } from 'zod-sqlite'; const result = createTable({...}); type Schema = typeof result.schema"]},{"cmd":"yarn add zod-sqlite","imports":[]},{"cmd":"pnpm add zod-sqlite","imports":[]}],"homepage":"https://github.com/favorodera/zod-sqlite#readme","github":"https://github.com/favorodera/zod-sqlite","docs":null,"changelog":null,"pypi":null,"npm":"zod-sqlite","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}