disjukr

disjukr / jtc

Public

JSON/YAML Type Checker

14
0
100% credibility
Found Mar 10, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

A type checker for JSON, JSONC, and YAML documents that validates content against TypeScript interfaces referenced via a $type field, provided as a VS Code extension, CLI tool, and library.

How It Works

1
🔍 Discover the checker

You hear about a handy tool that keeps your config files error-free by matching them to your data blueprints.

2
📥 Add it to your editor

Install the extension from your code editor's marketplace with a quick search and click.

3
📄 Open a config file

Open your JSON or YAML settings file where you store structured data.

4
Link to the blueprint

Add a short note at the top pointing to the shape your data should have, so it knows what to expect.

5
✏️ Fill or edit data

Type in values or make changes, and see helpful underlines appear instantly for any mismatches.

6
🔍 Explore definitions

Click on a field or note to jump right to its blueprint details for quick fixes.

Error-free configs

Your data now always matches perfectly, saving time and headaches on every project.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is jtc?

JTC is a JSON/YAML type checker in TypeScript that validates config files against your TS interfaces via a "$type" field like "./types.ts#User". Add it to JSON, JSONC, or YAML docs, and get precise TS diagnostics on mismatches, shown inline in VSCode or via CLI. It solves loose runtime configs by reusing TS types for compile-like safety without schemas.

Why is it gaining traction?

Stands out from JSON schema validators or json to yaml converter github tools by directly compiling your data against TS types, with path-specific errors and go-to-definition. VSCode extension feels seamless for editing; CLI "jtc check file.yaml" fits CI pipelines. YAML JSON type checker hook: zero extra syntax, just TS reuse.

Who should use this?

TS devs with typed configs like Next.js next.config.js, Kubernetes YAML manifests, or Docker Compose files. Backend teams validating API payloads in YAML/JSON. Full-stack folks bridging TS backends to frontend mocks.

Verdict

Early maturity at 12 stars and 1.0% credibility score, but clean docs, VSCode extension, and CLI make it trial-ready. Test on real configs – promising for TS shops ditching schemas.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.