Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/kwhitley/itty-fetcher
An even simpler wrapper around native Fetch to strip boilerplate from your fetching code!
https://github.com/kwhitley/itty-fetcher
d9e714cf06d38b7b27cd634632dba491436a7a7a authored over 1 year ago
73265063ca7d3c837a57808705bf93e77066ee6a authored over 1 year ago
4a4501398b2813cb3ce7e583fa7e09ba1aa4f7c4 authored over 1 year ago
ff96c92b21f414aac93cee658ea3fc5807aca44a authored over 1 year ago
f81aab54baa22587125ab7e5c368bea41c969d39 authored over 1 year ago
280b18b1beb99babe11bba501ed00bf48f80bd5f authored over 1 year ago
6fc848c84bb487ac60c32ef546e06c524a8af0c3 authored over 1 year ago
b4571f03f002d7b5fe5d4dccc3ff359a24e2a1ee authored over 1 year ago
c690f334c2b77054cd627ffd2cac0946598f00ff authored over 1 year ago
v0.9 - WIP
22235d15031d2e27cd100164761fe4f1488f9055 authored over 1 year ago48f1acc174055f488d16e99f6e49b20f10d4ec94 authored over 1 year ago
da9f8777b872ed55dc9716bacc80c3341d6702dd authored over 1 year ago
ad0ed177b7411fae93c0ca80930b0a6fa76ae272 authored over 1 year ago
d676a834beface7e86f9c8e07526a635ec578d16 authored over 1 year ago
4752c41e4f28c6c9e3968db259a54afd76762af5 authored over 1 year ago
80b7d2293a214d2b67fc7d59e05f633900993532 authored over 1 year ago
f12fe62c02e39eab3b59f4d57bf215f0053198ea authored over 1 year ago
ce395aab8615e900018f9755efcaa7fbfcb4a536 authored over 1 year ago
bbd3b3b93a1eb994e1c75f2b5a3610e6acab5dbb authored over 1 year ago
ff40f2447b0a39257e210373b587588dc0d5fbc2 authored over 1 year ago
df8ac9a217ebec3a35613d5aabb32bff8d389dd9 authored over 1 year ago
fixes query issue and build steps
e3e329dfcdded52b96f80322e3d2a0de7106afdd authored over 1 year ago5d06b3a146a8c881c93d41c2414b9f49ccad5eae authored over 1 year ago
e8baa0efecfdfaaec07c5cc0f3e7725e32e81264 authored over 1 year ago
958a40b196cb61871658ca7e33e6163f0a4af01c authored over 1 year ago
878100baf73f3c6187848768f4e48cb7a9277352 authored over 1 year ago
34c44bbea62a439efaf5d51fff040f9f08722f3d authored over 1 year ago
8c33f444f1b32b3e8db3732e5b2c8c87cf7833b9 authored over 1 year ago
48bc53f405e01adfb7297148a6b9fafabec1a091 authored over 1 year ago
1d36c0e8fcd3563d2e1ff8e90d914d102091fc7c authored over 1 year ago
8a8fc24348300d863e4cb43942f2ca334acdf14e authored over 1 year ago
19e6bef87dbbb6a0c6073d80b87349a921078737 authored over 1 year ago
822834d71fc9fd22b99385374d79c71d6242eaa8 authored over 1 year ago
c5fea1a02930547004eae74b20e795f41aa3c961 authored over 1 year ago
Adds null checking for contentType
Thanks @tyvdh!
15f8e2141666bbbc4c0c63178dc18e16d67254a0 authored over 1 year ago88a88291bc55db0629432a44b8a94fbc36d1e28f authored almost 2 years ago
2648b3e1d90b296ddccb6ada0690fcac17208c70 authored about 2 years ago
3f0c23b600e577a661e764db897ec449351b9acd authored about 2 years ago
Error Handling
8dc37c413ab2b653832afb4f0093710b8b778ac1 authored about 2 years agoc9d8c0438384bd7270c2de9b0b4464f03596cd6b authored about 2 years ago
01ca857a2295d10d73a3b03e2991d9f19a5deb05 authored about 2 years ago
74f14abc0b065d8312a03fa58f4c0ca289f0d492 authored about 2 years ago
8dde5902804205d0fa1aaba0794961b8e4d3a359 authored about 2 years ago
b780b79b56099cfbb3eb5e777c3d3467198a0a6e authored about 2 years ago
454d8528913ee6634c5a94341a2b5beff3bcecdd authored about 2 years ago
6eef0ee2becd534793a5a6b5ab2a1cf1b60e33e1 authored about 2 years ago
48b83e157267ac0aeeeec9646e64f2501664b3a5 authored about 2 years ago
2e3b5d16875d858d0ad22dbf54b7d4aac8fcdf6b authored about 2 years ago
bcfe3151c968ad96d694ea68afdeb86ca3b2ed2e authored about 2 years ago
7ee9d9b10f86f9ae31eab527e475abc420bc89b7 authored about 2 years ago
[#25] Don't stringify the prototype of a payload
890a49ea2e4dc6777787ae7e7ebc39cecadabad6 authored about 2 years agoPrevious code threw because TypedArrays/ArrayBuffers will fail when you attempt to Stringify the...
0f869ffa6f8e6cc05f7fac836c614a3dca3d14ed authored about 2 years ago31d74d417a3b8c572528597e0e5892df662aafec authored about 2 years ago
e0adb27bc60654870a442fe08a24f7ef83f78f88 authored over 2 years ago
993f52c67b794b9efae5449ec9bb7edc407b71e8 authored over 2 years ago
Invert the type checking logic of the payload in order to determine whether to stringify or not
387de80af289140ee7052c53d3173ea4f89d034d authored over 2 years agoThis change means that isn't a base type of `undefined`, `string`, `number`, `array` or `object`...
d4dcdcd4efe4d404ff406115468c06b2c7cb8fb9 authored over 2 years ago06e5894740c30fe8fb57af74ac8b31e652c7ef4c authored over 2 years ago
6955cd5f14cb0728f585ca498d27b0b73347d50d authored over 2 years ago
Add safe checking of payload data type to prevent undefined errors
b9777f4d4ea590c11396b4de42a8baaec7b79e69 authored over 2 years agoExport the FetcherType
6a80577e438a18bd40debe9ee26331383040c83c authored over 2 years agoThanks to @Crisfole for the tip on using `typeof FormData !== "undefined"`!
- Export all common...
5e420ec529a6fdae782127b0e309484b74e7a830 authored over 2 years agoExporting the FetcherType allows you to wrap itty-fetcher more easily:
```ts
export function...
c3171cc9b47b1832b312b4d0658f5a3ed9ed03c0 authored over 2 years ago
adds payload-as-blob support
266ddd3a6b4d77dc07f53d65e7759f1ab9d49779 authored over 2 years ago97005964803f8ed593b89e5ae1dd2a7a212fd200 authored over 2 years ago
fd70bb2bb6dc55ffb3427f4666e6bff5d48c2122 authored over 2 years ago
Co-authored-by: Dana Woodman <[email protected]>
3a2f66ee9ae66b9fbbd1e56ee369be9aa8548881 authored over 2 years ago358e48c31e9ae0b7f77dc0ed3c5dfb83ac94bfd8 authored over 2 years ago
[#17] Allow manually sending "body" in request init
7a11e350a9c877d70bcb3b0a502afdca8fb10ad5 authored over 2 years ago7935a9de99afefd001a4f72a78e5b153c519d8df authored over 2 years ago
71583adc2526edc194dc50c8cd1645d9e8e75ba2 authored over 2 years ago
6989f0cd96d82b564b3fbae2e2498020beb1ccfe authored over 2 years ago
Closes #17
d2d06daaa33fcbeba6044b92494cb2a96c727067 authored over 2 years ago5007a8be0e4ae95b673740580482a5a73808c719 authored over 2 years ago
b090582de93d6a4545a3b43064bdb4555291864c authored over 2 years ago
931e723bdccbc82ff84553e5dda73b9dbb5a413a authored over 2 years ago
Explicitly set request.headers in transformRequest to Record<string, string>
2b87951f344e32b2b8fde39cc1674cee2e6055ef authored over 2 years agoc1396dec98ae0b4085faa71c3b1ab5d58f7032b8 authored over 2 years ago
Closes #14
e0470ba1c1ca405e9b09872136745ac250329164 authored over 2 years agoc556bb1501bb9feefee39d39bf735c5c814be5fd authored over 2 years ago
Allow a custom fetch method
a8ba6750ef3f96e38aa56be8a9d97ee8beebc467 authored over 2 years ago056437481779c51c161745b77a676ba9708ca98e authored over 2 years ago
492105d1b19c942bc6fe97d60e75cc3c3be2a99a authored over 2 years ago
b18d43480ccd3777990315f274fb61863de3a9e7 authored over 2 years ago
Pass FormData in as-is
5ad92fb83b70e8ee9cc9a0525c5b7b97b7c8edb4 authored over 2 years ago55735a131136eb8d447e5ab90b17e28a2054fcf7 authored over 2 years ago
06cc4b3ebf8b8bd21cd24d3fa2e9cda4f6c523c1 authored over 2 years ago
b7b74debdc290650c8ceab595588f498b74f1383 authored over 2 years ago
2548aa4e34967f8012127c1a6c56fe8e661ad912 authored over 2 years ago
d10aad76854dfb245f7177e3abbafdb80063d696 authored over 2 years ago
ea4b93765e80cb6833155c8ac8a9541bcd0f3d08 authored over 2 years ago
48f24a18efa2f9cda301e9a6d20eeb083a2cb0cd authored over 2 years ago
9938e925fb5917b768108d74bbd9ffa54a0ba04a authored over 2 years ago
da6cb37ddd10ceb5a45e8a153600d80628c61975 authored over 2 years ago
a8581e0b6ae504d8d7e2df4b63457a7d7a5309bb authored over 2 years ago
2652230778a7f5eefd124137aac3d598b87cd13f authored over 2 years ago
Add "transformRequest" method to fetcher options
aae09f1a3489e04ccbffe055fd9b7312075a973b authored over 2 years ago7b221b03af52728199e1adc0fba8792be2c7c340 authored over 2 years ago
745e4e6e9a113eaab1cf1e6ed11394fdbcc38803 authored over 2 years ago