Integrations
QuickModel integrates seamlessly with the most popular frameworks and libraries in the TypeScript/JavaScript ecosystem.
Frontend Frameworks
Angular
Integration with Angular using services, HTTP interceptors and reactive forms.
React / Next.js
Models with React hooks, Server Components and automatic transformation management.
Svelte 5 / SvelteKit
Integration with Svelte 5's reactivity system and SvelteKit routes.
Vue 3 / Nuxt
Reactive composables, Pinia stores and server routes with Nuxt.
Backend
Express / Fastify / Hono
DTO validation and transformation in REST APIs with the most popular Node.js frameworks.
Bun.js
Native Bun.serve HTTP handler, WebSocket support, and bulk loading with Bun.file() + QuickModel DTOs.
NestJS
Integration with NestJS module system, validation pipes and guards.
tRPC
End-to-end type safety with tRPC using QuickModel as the serialization layer.
GraphQL / Apollo Server
GraphQL resolvers with automatic transformation of complex types.
ORM & Databases
Prisma ORM
Mapping between Prisma models and QModel with automatic transformations.
TypeORM
TypeORM entities as QModels with support for relations and inheritance.
Mongoose
Mongoose schemas with serialization of complex types (Map, Set, Date).
State Management & Forms
Redux Toolkit (RTK)
Redux slices with QuickModel in reducers, thunks and RTK Query.
Zustand
Zustand stores with typed models and automatic persistence.
React Hook Form
Form validation with @QRule integrated into React Hook Form.
Formik
Using QuickModel as a validator and data transformer in Formik forms.
Testing & Tooling
MSW (Mock Service Worker)
HTTP request interception in tests with realistic models generated by QuickModel.
Vitest Custom Matchers
Vitest-specific matchers for validating QModel instances in tests.
Jest Integration
Using quickmodelMatchers with Jest via expect.extend() — zero adapters needed.
Other Test Runners (Mocha/Chai, Node:test, AVA)
Integrating QuickModel matchers with Mocha + Chai, Node:test, and AVA.
TanStack Query
Queries and mutations with automatic API response transformation.
OpenAPI / Swagger
OpenAPI schema generation from QuickModel models.
Schema Formats
JSON Schema
Export any QModel as JSON Schema (Draft 7) with getSchema('json'), load it into AJV, generate OpenAPI documents, or scaffold a QModel class from an existing JSON Schema with fromSchema('json', ...).
TypeScript Interface
Export any QModel as a TypeScript interface string with getSchema('typescript'), share contracts across packages, scaffold QModel classes from existing interfaces with fromSchema('typescript', ...), or generate .d.ts declaration files.
Validation Libraries
Zod
Using Zod alongside QuickModel: validate raw input with Zod, coerce and serialize with QModel, and generate class scaffolding from Zod schemas.
Valibot
Lightweight Valibot validation alongside QModel coercion and serialization, plus getSchema('valibot') for schema export.
Yup
Chainable Yup schemas for validation, QModel for coercion and serialization, plus getSchema('yup') for schema export.
AJV
AJV JSON Schema validation with QModel coercion. Bidirectional: getSchema('ajv') exports live AJV schemas, fromSchema('ajv', ...) generates QModel classes from existing schemas.
TypeBox
TypeBox schemas for static types and runtime validation, QModel for coercion and serialization, plus getSchema('typebox') for schema export.
Effect Schema
Effect Schema for declarative parsing and encoding in Effect-based backends, QModel for coercion and business rule validation, plus getSchema('effect-schema') for schema export.
Other Integrations
Mobile (React Native / Capacitor)
Using QuickModel in mobile applications with React Native and Capacitor.
Storage & Persistence
Persistence in localStorage, sessionStorage and IndexedDB with automatic serialization.
Electron IPC
Inter-process communication in Electron using QuickModel for safe serialization.
WebSocket & Real-Time Sockets
Native WebSocket, Socket.IO, SSE, uWebSockets.js and STOMP integration with typed message serialization and security.
Quick Links
- Installation - Get started with QuickModel
- Transformers - Natively supported types
- Validation - Business rules with
@QRule - API Reference - Complete documentation