Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)