{"library":"driftsql","type":"library","category":null,"description":"DriftSQL is a modern, type-safe SQL client for TypeScript, currently in beta (v2.0.0-beta.6). It provides a built-in schema builder and migration system, allowing developers to define database schemas in code and migrate automatically. Key differentiators include full TypeScript type inference from schema definitions, lightweight zero-dependency core, and a query builder that prevents runtime errors by catching type mismatches at compile time. Unlike traditional ORMs, it focuses on type safety without sacrificing performance. It supports PostgreSQL and SQLite, with Community-provided drivers for MySQL and MSSQL.","language":"javascript","status":"active","version":"2.0.0-beta.6","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install driftsql","imports":["import { DriftClient } from 'driftsql'","import { sql } from 'driftsql'","import Drift from 'driftsql'"]},{"cmd":"yarn add driftsql","imports":[]},{"cmd":"pnpm add driftsql","imports":[]}],"homepage":"https://github.com/lassejlv/driftsql","github":"https://github.com/lassejlv/driftsql","docs":null,"changelog":null,"pypi":null,"npm":"driftsql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}