node
node copied to clipboard
Node.js JavaScript runtime ✨🐢🚀✨
As per draft explicit resource management guidelines (#58526) regarding disposer behaviour. refs: #58206
PR for #58572 Fixed definition of `assert.ifError()` in `lib/assert.js
### What is the problem this feature will solve? V8 supports this flag for a while now (see [9306](https://issues.chromium.org/issues/42212488)), and it's even documented under `--v8-options` ([see](https://github.com/nodejs/node/blob/v24.2.0/deps/v8/src/flags/flag-definitions.h#L2062-L2066)). However, it's not yet...
I think that a single regex is better than looping a regex multiple times. The code is smaller, using const and such.
### What is the problem this feature will solve? Creating cross-platform (Node.js + browsers) code has never been more important, but there are still some sharp edges. `fetch` support was...
allows us to process filenames that are already URLs by passing them unchanged
The doc generator will only add a stability marker to the index if the blockquote element appears close to the relevant heading. There is an ordering convention (\ \[\\] \)...
This PR implements the [Web Locks API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API), Locks are used to coordinate access to shared resources across multiple threads. This implementation is based on previous work in https://github.com/nodejs/node/pull/22719 and https://github.com/nodejs/node/pull/36502,...
Add support for the creation of ReadableByteStream to Readable.toWeb() and Duplex.toWeb() This enables the use of .getReader({ mode: "byob" }) on e.g. socket().toWeb() e.g.: ```js const { writable, readable }...