Json2Typebox CLI
October 31, 2024 ยท View on GitHub
This is the command line tool for json2typebox, used to convert json files to typebox type definitions.
Installation
npm install -g json2typebox-cli
Usage
Commands
quick: Convert json data in the clipboard to typebox type and save it in the clipboard
json2typebox quick
-
Copy json data

-
Run
json2typebox quick
-
Paste the typebox type definition to your code

Related projects
- json2typebox: https://github.com/hacxy/json2typebox
- json2ts: https://github.com/hacxy/json2ts
License
MIT