fetch-jsonp
fetch-jsonp copied to clipboard
Make JSONP request like window.fetch
https://web.dev/articles/fetch-priority#the_fetchpriority_attribute
Currently the only supported module format is UMD. Unfortunately this adds a few paths that might be unexpected for a bundled ESM app. Can we have a build in ESM...
Thanks for the library! With the following JSONP response (script body) from Mailchimp: ```js jsonp_1720618209454_25752({"result":"error","msg":"Too many subscribe attempts for this email address. Please try again in about 5 minutes. (#6592)"})jsonp_1720618209454_25752({"result":"error","msg":"[email protected]...
First of all, thanks for `fetch-jsonp`, useful library! ## What? Add a [`"types"` field to `package.json`](https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html#including-declarations-in-your-npm-package), like Jest and other package including their own types. ## Why? On [the npm...