Skip to content

Commit b696b1c

Browse files
committed
📝 Node.js 18 section wording
1 parent 77c0a1d commit b696b1c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,11 @@ The package contains multiple bundles depending on the format and feature set lo
217217
Wretch is compatible with and tested in _Node.js >= 14_. Older versions of node may work
218218
but it is not guaranteed.
219219

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)
223221

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.**
225223

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.
227225

228226
_The non-global way (preferred):_
229227

0 commit comments

Comments
 (0)