type-annotation-to-json-schema

1.0.0 • Public • Published

type-annotation-to-json-schema

CircleCI Coverage Status semantic-release Commitizen friendly npm version

Generates JSON schemas from Flow and TypeScript type annotations.

CLI

type-annotation-to-json-schema <file> <identifier>

convert a type to JSON Schema

Positionals:
  file
  identifier

Options:
  --version       Show version number                                  [boolean]
  --help          Show help                                            [boolean]
  --defaultExact  whether to treat ambiguously exact objects as exact or inexact
                                                                       [boolean]

Readme

Keywords

none

Package Sidebar

Install

npm i type-annotation-to-json-schema

Weekly Downloads

330

Version

1.0.0

License

MIT

Unpacked Size

397 kB

Total Files

127

Last publish

Collaborators

  • jedwards1211