Node 18 Full [repack] -
The runtime updated its underlying Google V8 engine to version 10.1, unlocking new JavaScript features. Array Methods Array.prototype.findLast() finds items from the end.
const ReadableStream = require('node:stream/web'); const stream = new ReadableStream( start(controller) controller.enqueue('Hello '); controller.enqueue('World'); controller.close();
Node.js 18: The Full Guide to Features, Upgrades, and LTS Capabilities node 18 full
The most celebrated feature: the Fetch API is now built-in globally. You no longer need node-fetch or axios for basic fetch requests.
Prebuilt binaries for macOS now require macOS 10.15 or later. The runtime updated its underlying Google V8 engine
. Previously, developers had to rely on third-party libraries like node-fetch to make HTTP requests. By bringing
import test, mock from 'node:test'; import assert from 'node:assert'; You no longer need node-fetch or axios for
fetch() , Request , Response , and Headers are available globally.
You want – meaning the complete binaries, including npm, corepack, and headers for native modules.