Skip to main content

License TS Dependencies Latest Tag Stars

Imagine doing this…

Demo Example with Axios

What is it?

tapi is a tiny TypeScript package used to define how to interpret any given API response as a typed object.

It automatically converts JSON objects into TypeScript class instances, however you can still configure it however you want with Aliases, Transformers, Mappers and more.



More info

📦 Check it out on npm

🦕 Check it out on deno

😱 Check it out on Bundlephobia

Use directly from the browser

📚 Additional info on the file on libraries.io

Big thanks to anyone who contributes!

You could be here!

👇

Contributors


Thanks for using tapi! 😊 I hope it’s been useful to you in some way.