Skip to content

EgbedokunOlayinka/json-to-ts-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@theewave/json-to-ts-cli

This is a simple CLI tool that helps to convert JSON data to typescript interfaces. It can take the JSON data from terminal input or from a file and then output the converted typescript interfaces to a file or to the terminal.

Installation

To install the package, use the following command:

npm install @theewave/json-to-ts-cli

Usage

To use the package in your project, enter this command in your terminal:

npx jtsc

This will spin up a command-line wizard that will take you through the simple conversion process.

  • This is an example of what the process looks like when you output the result to the terminal An example of the process

  • This is an example of what the process looks like when you output the result to a file An example of the process

Credits

Marius Alch for the great json-to-ts module.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published