Packages Overview

TableCraft is a monorepo with multiple packages for different use cases.

Core Packages

The heart of TableCraft - handles query building, filtering, sorting, pagination, and metadata.

pnpm add @tablecraft/engine

Features:

  • Table configuration with defineTable()

  • Query building with filtering, sorting, pagination

  • Computed columns and transforms

  • Relationships and joins

  • Metadata API

Backend Adapters

Adapter for Hono.js framework.

pnpm add @tablecraft/adapter-hono
import { createHonoApp } from "@tablecraft/adapter-hono";
app.route("/engine", createHonoApp({ db, schema, configs }));

Plugins

@tablecraft/plugin-cache

Caching plugin with multiple backends.

Supported Backends:

  • In-memory cache (default)

  • Redis

  • Upstash Redis

Version Compatibility

Package
Node
React
Drizzle

engine

>=18

-

^0.30

table

-

>=18

-

codegen

>=18

-

-

Last updated

Was this helpful?