#schemaorg #schemy-ts #schemy #schemaorg-extractor

app schemy-ts

Generates TypeScript types from Schema.org JSON-LD vocabulary

1 unstable release

Uses new Rust 2024

0.1.1 Apr 25, 2025

#685 in Database interfaces

Download history 90/week @ 2025-04-21 32/week @ 2025-04-28 9/week @ 2025-05-05 14/week @ 2025-05-12

145 downloads per month

MIT license

30KB
707 lines

schemy-ts

Generates TypeScript types from Schema.org JSON-LD vocabulary. You can download the JSON vocabulary definition files here.

Generates TypeScript types from Schema.org JSON-LD vocabulary.

Usage: schemy-ts [OPTIONS]

Options:
  -i, --input-file <SCHEMA_FILE>  Path to the Schema.org JSON-LD input file [default: schema/schemaorg-current-https.jsonld]
  -o, --output-dir <OUTPUT_DIR>   Path to the output directory for the generated TypeScript source [default: out]
  -h, --help                      Print help
  -V, --version                   Print version

Dependencies

~9–17MB
~214K SLoC