Valibot integration for OrchidORM, enabling schema-to-valibot validation in Node.js and edge environments. Version 0.3.x is the current stable line, with active weekly releases. Unlike Zod-based alternatives, it leverages Valibot's modular, tree-shakeable API for smaller bundles. It provides valibot schemas generated from OrchidORM table definitions, supporting queries and mutations.
npm install orchid-orm-valibotNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a simple OrchidORM table, converts it to a Valibot schema, and validates input.
Check changelog and update imports accordingly.
Import and use ValibotSchema from this package.
Use namespace import: import * as v from 'valibot'.
Use import syntax or switch to a bundler that supports ESM.
Run npm install orchid-orm-valibot
Use: import { tableToValibot } from 'orchid-orm-valibot';Set type: 'module' in package.json or use dynamic import()
Use valid OrchidORM column types: string, integer, boolean, etc.