@langri-sha/schemastore-to-typescript
v0.2.0
Published
Fetch [JSON Schema] from the [JSON Schema Store] catalog and compile [TypeScript typings].
Downloads
222
Readme
@langri-sha/schemastore-to-typescript
Fetch JSON Schema from the JSON Schema Store catalog and compile TypeScript typings.
The tool first fetches the schema catalog from the JSON Schema Store API, searches for the requested schema by name (case-insensitive), and then downloads and compiles the schema to TypeScript definitions.
Features
- uses [
json-schema-to-typescript] for TypeScript generation - fetches schemas from the JSON Schema Store catalog API
- case-insensitive schema name matching
- offline cache using [
got] for both catalog and schema requests
