{"library":"zapatos","type":"library","category":null,"description":"Zapatos is a 'zero-abstraction' database library specifically designed for TypeScript and Postgres. It provides strong type safety by generating a detailed TypeScript schema directly from your existing Postgres database, reducing the boilerplate and common pitfalls associated with traditional ORMs. The library facilitates writing arbitrary SQL queries using tagged templates, offers shortcut functions for everyday CRUD operations, and supports complex data structures like nested JSON via LATERAL JOINs, all while maintaining full type inference. Unlike many ORMs, Zapatos does not manage connection pools, explicitly relying on the underlying `pg` module, and does not aim to be database-agnostic or provide a 'code-first' approach. Currently at version 6.6.1, Zapatos maintains an active development status, with a focus on integrating seamlessly with Postgres's native capabilities and TypeScript's type system.","language":"javascript","status":"active","version":"6.6.1","tags":["javascript","postgres","typescript","orm","sql"],"last_verified":"Wed May 27","install":[{"cmd":"npm install zapatos","imports":["import * as db from 'zapatos/db';","import type * as s from 'zapatos/schema';","import * as zg from 'zapatos/generate';"]},{"cmd":"yarn add zapatos","imports":[]},{"cmd":"pnpm add zapatos","imports":[]}],"homepage":"https://jawj.github.io/zapatos/","github":"https://github.com/jawj/zapatos","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/zapatos","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/zapatos/compatibility"}}