json-schema-to-typescript-lite
TypeScript icon, indicating that this package has built-in type declarations

14.1.0 • Public • Published

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

Package Sidebar

Install

npm i json-schema-to-typescript-lite

Weekly Downloads

117,551

Version

14.1.0

License

MIT

Unpacked Size

397 kB

Total Files

8

Last publish

Collaborators

  • antfu