SlintORM
Docsnpm
v1.5.1

Introduction

SlintORM is a zero-config TypeScript ORM for SQLite, PostgreSQL, MySQL, and MongoDB. Define your data as plain TypeScript interfaces, call migrate(), and your database is ready — no schema files, no codegen, no extra build steps.

Zero dependencies
All drivers are optional peerDependencies
Auto-migrations
From TypeScript interfaces, non-destructive
Full query builder
Fluent API, no N+1, window functions
Edge ready
Cloudflare Workers, Deno, Next.js Edge
Soft delete
Built-in, auto-filters deleted rows
Typed db store
Full inference via ModelMap

Documentation

Getting Started

Installation
Install SlintORM and your database driver
Configuration
Set up new ORMManager with all options
Models
Define models as TypeScript interfaces

Core API

defineModel
All 24 ModelAPI methods
CRUD
Insert, get, update, delete, upsert, and more
Query Builder
Fluent chainable query API

Features

Relations
One-to-many, many-to-many, and more
Migrations
Auto-migrations from your interfaces
Edge / Serverless
Cloudflare Workers, Next.js Edge, Deno
Start from Installation

Using llms.txt with AI models

SlintORM ships a /llms.txt file — a full plain-text reference of the entire API designed specifically for AI models and LLM context windows. If you are using an AI coding assistant to work with SlintORM, feeding it llms.txt gives it everything it needs: every method signature, all config options, relation syntax, error codes, TypeScript types, and working code examples — in one file.

949 lines
Full API reference — nothing omitted
Plain text
No HTML, no markup — pure signal
AI crawlable
All major AI crawlers explicitly allowed in robots.txt
Always current
Updated with every release

Get the file

# Paste the full file into any AI chat for instant context:
curl https://slintorm.vercel.app/llms.txt | pbcopy

# Or reference it directly in your prompt:
"Using the SlintORM API documented at https://slintorm.vercel.app/llms.txt,
help me write a query that..."

Use it in a prompt

# Example prompt with llms.txt context
"I'm using SlintORM v1.5.1. Here is the full API reference:
[paste llms.txt contents]

Help me write a model for a blog system with Users, Posts, Comments,
and Tags using many-to-many for post tags."
Direct URL

The file is served at https://slintorm.vercel.app/llms.txt — link to it in system prompts, paste it into context windows, or reference it directly in tools that support URL-based context loading.

Download llms.txt
GitHubnpm packageChangelog
NextInstallation