open-index/open-npm huggingface dataset:
npm package: @relq/kit
Description: The development toolkit for Relq — schema definition, migrations, CLI, and introspection
Author: Olajide Mathew O.
Latest version: 0.1.9

<div align="center">
  <a href="https://relq.io">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://relq.io/logo-dark.svg" />
      <img alt="Relq" src="https://relq.io/logo-light.svg" width="140" />
    </picture>
  </a>
  <h3><code>@relq/kit</code></h3>
  <p>The development toolkit for Relq.<br/><strong>Schema definition. Migrations. CLI.</strong></p>
  <a href="https://relq.io/docs/schema">Schema Guide</a>
  <span>&nbsp;&middot;&nbsp;</span>
  <a href="https://relq.io/docs/cli">CLI Reference</a>
  <span>&nbsp;&middot;&nbsp;</span>
  <a href="https://relq.io/docs/getting-started">Get Started</a>
  <span>&nbsp;&middot;&nbsp;</span>
  <a href="https://github.com/yuniqsolutions/relq">GitHub</a>
</div>

<br />

<div align="center">
  <a href="https://www.npmjs.com/package/@relq/kit"><img src="https://img.shields.io/npm/v/@relq/kit?style=flat&color=3178c6&label=npm" alt="npm" /></a>
  <a href="https://www.npmjs.com/package/@relq/kit"><img src="https://img.shields.io/npm/dm/@relq/kit?style=flat" alt="downloads" /></a>
  <a href="https://github.com/yuniqsolutions/relq/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@relq/kit?style=flat" alt="license" /></a>
  <a href="https://www.typescriptlang.org"><img src="https://img.shields.io/badge/TypeScript-100%25-3178c6?style=flat" alt="typescript" /></a>
</div>

---

`@relq/kit` is where your schema lives. Define tables, columns, relations, enums, views, triggers, and functions in TypeScript — the CLI handles diffing, migrations, introspection, and deployment. Every column type carries its TypeScript type so `@relq/orm` infers queries and `@relq/zod` generates validators without a codegen step.

**80+ PostgreSQL types. 40+ MySQL types.** Not just the basics — geometric types, ranges, vectors, PostGIS, hstore, ltree, full-text search, domains, enums, triggers, functions, views, sequences, events. If your database has it, Relq types it.

**Two schema workflows.** Push and pull for rapid development. Generate and migrate for team deployments. Use either, or both.

Install as a dev dependency. Not needed at runtime.

### Install

```bash
npm install -D @relq/kit
npm install @relq/orm       # runtime peer dependency
```

### Documentation

Visit [relq.io/docs/schema](https://relq.io/docs/schema) for the schema guide and [relq.io/docs/cli](https://relq.io/docs/cli) for the CLI reference.
npm package: @relq/orm
Description: The runtime engine for Relq — type-safe PostgreSQL ORM for TypeScript
Author: Olajide Mathew O.
Latest version: 0.1.9

<div align="center">
  <a href="https://relq.io">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://relq.io/logo-dark.svg" />
      <img alt="Relq" src="https://relq.io/logo-light.svg" width="140" />
    </picture>
  </a>
  <h3><code>@relq/orm</code></h3>
  <p>The runtime engine for Relq.<br/><strong>End-to-end type inference. Every query. Every dialect.</strong></p>
  <a href="https://relq.io/docs">Docs</a>
  <span>&nbsp;&middot;&nbsp;</span>
  <a href="https://relq.io/docs/getting-started">Get Started</a>
  <span>&nbsp;&middot;&nbsp;</span>
  <a href="https://github.com/yuniqsolutions/relq">GitHub</a>
  <span>&nbsp;&middot;&nbsp;</span>
  <a href="https://discord.gg/relq">Discord</a>
</div>

<br />

<div align="center">
  <a href="https://www.npmjs.com/package/@relq/orm"><img src="https://img.shields.io/npm/v/@relq/orm?style=flat&color=3178c6&label=npm" alt="npm" /></a>
  <a href="https://www.npmjs.com/package/@relq/orm"><img src="https://img.shields.io/npm/dm/@relq/orm?style=flat" alt="downloads" /></a>
  <a href="https://github.com/yuniqsolutions/relq/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@relq/orm?style=flat" alt="license" /></a>
  <a href="https://www.typescriptlang.org"><img src="https://img.shields.io/badge/TypeScript-100%25-3178c6?style=flat" alt="typescript" /></a>
</div>

---

`@relq/orm` is the runtime query engine. You write `db.table.users.select('id', 'email')` and TypeScript knows the return type is `{ id: string; email: string }[]`. Change a column in your schema and every query updates instantly. No codegen. No CLI-generated types.

Supports **11 PostgreSQL dialects** (PostgreSQL, Supabase, Neon, AlloyDB, Aurora, Citus, Timescale, Nile, CockroachDB, YugabyteDB, AWS DSQL) and **3 MySQL dialects** (MySQL, MariaDB, PlanetScale).

Each dialect only exposes the features it supports. TypeScript enforces this — you cannot call `subscribe()` on AWS DSQL or `setTenant()` on standard PostgreSQL.

### Install

```bash
npm install @relq/orm
npm install -D @relq/kit    # schema definition + CLI
```

### Documentation

Visit [relq.io/docs](https://relq.io/docs) for the full API reference, guides, and examples.
npm package: @relq/zod
Description: Zod schema generation for Relq — type-safe validation from your table definitions
Author: Olajide Mathew O.
Latest version: 0.1.0

<div align="center">
  <a href="https://relq.io">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://relq.io/logo-dark.svg" />
      <img alt="Relq" src="https://relq.io/logo-light.svg" width="140" />
    </picture>
  </a>
  <h3><code>@relq/zod</code></h3>
  <p>Zod schema generation for Relq.<br/><strong>One function. Zero duplication.</strong></p>
  <a href="https://relq.io/docs/zod">Docs</a>
  <span>&nbsp;&middot;&nbsp;</span>
  <a href="https://relq.io/docs/getting-started">Get Started</a>
  <span>&nbsp;&middot;&nbsp;</span>
  <a href="https://github.com/yuniqsolutions/relq">GitHub</a>
</div>

<br />

<div align="center">
  <a href="https://www.npmjs.com/package/@relq/zod"><img src="https://img.shields.io/npm/v/@relq/zod?style=flat&color=3178c6&label=npm" alt="npm" /></a>
  <a href="https://www.npmjs.com/package/@relq/zod"><img src="https://img.shields.io/npm/dm/@relq/zod?style=flat" alt="downloads" /></a>
  <a href="https://github.com/yuniqsolutions/relq/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@relq/zod?style=flat" alt="license" /></a>
  <a href="https://www.typescriptlang.org"><img src="https://img.shields.io/badge/TypeScript-100%25-3178c6?style=flat" alt="typescript" /></a>
</div>

---

Your schema already describes every column, constraint, and default. `@relq/zod` reads that definition and gives you a Zod schema — select, insert, or update — that stays in sync automatically. No hand-written validators. No drift between database and API.

One API for PostgreSQL and MySQL. Family detection is automatic via the `$family` discriminator on your table definitions.

### Install

```bash
npm install @relq/zod zod
```

### Documentation

Visit [relq.io/docs/zod](https://relq.io/docs/zod) for usage, overrides, and examples.