You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -217,13 +217,11 @@ The package contains multiple bundles depending on the format and feature set lo
217
217
Wretch is compatible with and tested in _Node.js >= 14_. Older versions of node may work
218
218
but it is not guaranteed.
219
219
220
-
> 🥳 Starting from Node.js 18, [node includes experimental fetch support](https://nodejs.org/en/blog/announcements/v18-release-announce/). Wretch will work without installing any polyfill.
221
-
>
222
-
> For older versions of Node.js, Wretch requires installing [FormData](https://github.com/form-data/form-data) and [fetch](https://www.npmjs.com/package/node-fetch) polyfills.
220
+
### Polyfills (Node.js < 18)
223
221
224
-
### Polyfills
222
+
**Starting from Node.js 18, [node includes experimental fetch support](https://nodejs.org/en/blog/announcements/v18-release-announce/). Wretch will work without installing any polyfill.**
225
223
226
-
Since the `Node.js` standard library does not provide a native implementation of fetch (and other Browsers-only APIs), polyfilling is mandatory.
224
+
For older versions, the Node.js standard library does not provide a native implementation of fetch (and other Browsers-only APIs) and polyfilling is mandatory.
0 commit comments