Hi all. I’m currently working on a new NPM package that is supposed to be an abstraction layer for API endpoints. It would be awesome if one or the other could take a look at it and give feedback if this is a useful package or rather going in a wrong direction. web3nao http-configs is a zero-dependency library that provides http configs for a number of web3 (and web2) APIs in a simple way. The whole library is fully typed and gives easy access to the included APIs. Motivated to implement for a simple reason: less dependencies in your own projects. What I have done so far:
got
axios
fetch
A significant advantage in my opinion are the provided interfaces. If I connect a new API, or connect an API that I already know but haven’t used for a while, I always have to invest time to find out how to use the API: Authorization, headers, payload, paths, … The types in web3nao make the integration much more effective and efficient, because less mistakes happen and you get the expected result faster. Play I appreciate your feedback!