Shared, tree-shakeable TypeScript database utilities for the @rtorcato/* family.
import { paginate } from '@rtorcato/db-common'
const { limit, offset } = paginate({ page: 2, size: 25 })
// → { limit: 25, offset: 25 }
npm install @rtorcato/db-commonSibling projects
More from @rtorcato — same conventions, same release pipeline.
Tree-shakeable TypeScript utilities — tiny bundles, full type safety, CLI included.
Framework-agnostic building blocks for Node.js APIs — errors, auth, rate limiting, OpenAPI, Express + Hono.
Tree-shakeable TypeScript wrappers around 40+ browser Web APIs — one subpath per spec.
Typed TypeScript wrappers and helpers for Cloudflare bindings and APIs.
Published React 19 component library — shared UI primitives.
SwiftUI package of reusable views and helpers to build apps faster.
Shared, tree-shakeable TypeScript helpers for Supabase — client, auth, and database utilities.
Shared Biome, TypeScript and Vitest presets that power the @rtorcato/* family.