colinhacks/reylo
Import .sql files into TypeScript with full type inference and zero codegen.
Older snapshot: check the original source for current information.
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
Import .sql files into your TypeScript code with full type inference Read the docs → If you have a file like this: You can import it directly from a TypeScript file like this: Reylo is powered by TypeScript content mappers, introduced in TypeScript 7.1 (currently in beta), which let you dynamically define static types for external file types and integrate them directly into TypeScript compilation. Reylo is the perfect option for the agent era: To install Reylo, you'll need: Install Reylo, the engine for your database and TypeScript 7.1: Add Reylo to tsconfig.json, for .sql files and for its project file, .reylo.yaml or .reylo.yml: Then type-check with --runExternalCode, which lets tsc run content mappers: Point Reylo at your dev database with DATABASEURL, in your environment or in .env. Its scheme tells Reylo which database you use: To make .sql imports work at run time too, load Reylo where your code…
Read the full README ↗ · Preview checked 2026-10-27T17:25:29.061Z
Inside the original README — Document outline
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
Import .sql files into TypeScript with full type inference and zero codegen.
Repository facts
- Owner
- colinhacks
- Primary language
- Rust
- Stars
- 1,356
- Forks
- 15
- Open issues + pull requests
- 14
- License
- MIT
- Archived
- No
- Default branch
- main
- Created
- 2026-10-21T00:16:54.000Z
- Last push
- 2026-10-28T03:44:54.000Z
Topics and intended use
No topics were included in the latest source metadata.
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-10-28T12:14:58.607Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.