Imagine doing this...
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 Bundlephobia
☁ Use directly from the browser
📚 Additional info on the file on libraries.io
Big thanks to anyone who contributes!
You could be here!
👇
Thanks for using tapi! 😊 I hope it's been useful to you in some way.