Just released: tsconfig-api
Ethan Arrowood
Posted on June 12, 2019
Just released a new project called tsconfig-api. This API takes the TypeScript CLI options and makes them available via a microservice API. The data is based off of the compiler options handbook file (find the markdown version here). The API is a microservice built on Node.js. It uses now for build and deployment.
Use this API by making a GET request to https://tsconfig-api.matterhorndev.now.sh/tsconfig?option=<compiler option>
Don't forget to pass a valid compiler option to the option
query parameter!
Check out the project's README on GitHub for a full list of options.
This project was created in preparation for future tools that will utilize the TypeScript compiler options. Currently planned are a web app and a command line interface for learning about and creating tsconfig files / tsc compile commands.
I hope you enjoy using it!
Posted on June 12, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.