https://github.com/orta/playground-typescript-json-schema
https://github.com/orta/playground-typescript-json-schema
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/orta/playground-typescript-json-schema
- Owner: orta
- Created: 2021-07-28T13:09:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-28T13:14:57.000Z (almost 5 years ago)
- Last Synced: 2025-05-07T09:03:57.168Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 772 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
## TypeScript Playground Plugin

This plugin uses a custom build of YousefED/typescript-json-schema (at commit 20a03a2 to output the JSON schema version of your exported interfaces/types from the Playground editor.
## Running this plugin
- [Click this link](https://www.typescriptlang.org/play?install-plugin=playground-typescript-json-schema) to install
or
- Open up the TypeScript Playground
- Go the "Plugins" in the sidebar
- Look for "Plugins from npm"
- Add "playground-typescript-json-schema"
- Reload the browser
Then it will show up as a tab in the sidebar.
## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full details, however, TLDR:
```sh
git clone ...
yarn install
yarn start
```
Then tick the box for starting plugin development inside the TypeScript Playground.