Skip to content

antfu/json-schema-to-typescript-lite

 
 

Repository files navigation

json-schema-to-typescript-lite

Compile json schema to typescript typings

A fork of json-schema-to-typescript with lighter dependencies and a few tweaks.

  • Remove Prettier integrations - it now generates better formatted code by default, and you can always use Prettier manually afterward if needed
  • Replace lodash with bundled lodash-es for smaller bundle size
  • Remove CLI support and the dependencies - this package aims to have programmatic usage only
  • Modern build with ESNext target
  • ESM & CJS dual module support
  • Support customName options

About

Compile JSONSchema to TypeScript type declarations

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Languages

  • TypeScript 100.0%