Simon Plenderleith gives a roundup of the new stuff that landed in Node since September 2021.
- Deep clone values (using
structuredClone
)- Auto cancel async operations
- Fetch API
- Import JSON modules
- Abort API additions
- readline/promises API
- Corepack
I’m especially excited about native fetch()
support making it into Node 17. Note that you must enabled it using the --experimental-fetch
flag, though.
Web Streams support — available with experimental support in 17.8 — also looks pretty sweet.