Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MariusAlch/vscode-json-to-ts
VSCode extension - Convert JSON object to typescript interfaces
https://github.com/MariusAlch/vscode-json-to-ts
Last synced: 9 days ago
JSON representation
VSCode extension - Convert JSON object to typescript interfaces
- Host: GitHub
- URL: https://github.com/MariusAlch/vscode-json-to-ts
- Owner: MariusAlch
- Created: 2017-04-17T15:01:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T21:02:19.000Z (7 months ago)
- Last Synced: 2024-08-01T13:21:56.012Z (3 months ago)
- Language: TypeScript
- Size: 814 KB
- Stars: 121
- Watchers: 3
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![From clipboard](https://image.ibb.co/fTb60k/icon.png)
# JSON to TS
### Convert JSON object to typescript interfaces
## Features
#### Convert from clipboard (`Shift + Ctrl + Alt + V`)
![From clipboard](./images/clipboard.gif)
#### Convert from selection (`Shift + Ctrl + Alt + S`)
![From selection](./images/selection.gif)
#### Optional quotes
![Optional quotes](./images/optional-quotes.gif)
## Converter
- Array type merging (**Huge deal**)
- Duplicate type prevention
- Union types
- Optional types
- Array types## Links
- [Repo](https://github.com/MariusAlch/vscode-json-to-ts)
- [Issues](https://github.com/MariusAlch/vscode-json-to-ts/issues)
- [Change log](https://github.com/MariusAlch/vscode-json-to-ts/blob/master/CHANGELOG.md)