Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tschema

> 编程语言
Open source

A tiny (500b) utility to build JSON schema types.

731 stars0 likes0 views
WebsiteGitHub

About

A tiny (500b) utility to build JSON schema types.

tschema

A tiny (500b) utility to build JSON schema types.

Install

This package is compatible with all JavaScript runtimes and is available on multiple registries:

  • npm — available as tschema
  • JSR — available as @lukeed/tschema

Usage

…

API

Please refer to the generated API documentation, as it's always kept up-to-date.

Note: The API is the same across all JavaScript runtimes, regardless of installation source. Only the package's name changes.

Benchmarks

Run on Deno 1.45.5 (release, aarch64-apple-darwin) with v8 12.7.224.13

file: tschema/scripts/bench.ts
runtime: deno 1.45.5 (aarch64-apple-darwin)

# Builders
  tschema              5,328,603.3 iter/sec     187.67 ns/iter
  sinclair/typebox       130,480.2 iter/sec       7.66 µs/iter
  zod-to-json-schema      46,928.5 iter/sec      21.31 µs/iter

# Summary
  tschema
    40.84x faster than sinclair/typebox
   113.55x faster than zod-to-json-schema

License

MIT © Luke Edwards

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言