xiag-ag/typescript-to-json-schema

Name: typescript-to-json-schema

Description: Generate JSON schema from your Typescript sources

Created: 2017-02-01 09:02:33.0

Updated: 2017-09-13 02:10:34.0

Pushed: 2017-12-30 23:26:04.0

Homepage: null

Size: 82

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

typescript-to-json-schema

npm version Build Status License: MIT

Inspired by YousefED/typescript-json-schema. Here's the differences list:

Usage
install typescript-to-json-schema
de_modules/.bin/typescript-to-json-schema \
--path 'my/project/**.*.ts' \
--type 'My.Type.Full.Name' \
--expose 'export' \
--topRef 'yes' \
--jsDoc 'extended'
Current state
Debug

npm run debug -- test/programs/type-alias-single/main.ts --aliasRefs true MyString

And connect via the debugger protocol.

AST Explorer is amazing for developers of this tool!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.