Show HN: Single JavaScript API Client for sheet2api.com
github.com
github.com
The title really should be "Show HN: Single JavaScript API Client for sheet2api.com"
From a JS front end dev perspective it's not actually very good as a library. There's literally no error handling at all (it just passes you the error from XMLHttpRequest; it could do so much more), there's no auth, and it's based on the old XMLHttpRequest API rather than the more modern, and much better in my opinion, fetch() API.
I fail to see what is wrong about it.
XHR always supported aborting requests, along with progress callbacks. Also, IE11 doesn't support fetch, so you'd need to bring in a polyfill for it and for Promise there. (And FormData, and Blob and etc, if we're talking full spec compliance)
Considering this history, I wouldn't dismiss an XHR-based implementation so fast.