HudHud Tech — Tech & AI news platform
Saturday, 14 November 2026
Breaking
Software & Apps

Node.js 26.10.0 Introduces Core Utilities for Debounce, Throttle, and PKCS#12 Parsing

14 November 2026 2 min read هدهد تك | Hudhud Tech

Node.js has integrated several long-requested utilities into its standard library with the release of version 26.10.0. This update introduces util.debounce() and util.throttle() in the node:util module, as well as crypto.parsePKCS12() for extracting private keys and certificates from .p12 and .pfx bundles.

The addition of util.debounce() and util.throttle() addresses a common need in the Node.js ecosystem, where these rate-limiting helpers were frequently sourced from external libraries like lodash or throttle-debounce. James M Snell implemented these features in a single pull request, with Matteo Collina noting their frequent use in nearly every application.

In this update, Snell also reworked the handling of AbortSignal to allow for the cancellation of future invocations, addressing concerns raised by contributors about its previous implementation.

Alongside the debounce and throttle utilities, the update includes util.markPromiseAsHandled(). This new feature provides a mechanism for framework developers to indicate that a promise has been handled, clarifying the handling of unhandled-rejection signals.

The crypto.parsePKCS12() function fills a notable gap in Node.js’s capabilities. While Node.js previously parsed .p12 and .pfx bundles for TLS’s pfx option, it did not expose the results to JavaScript. The new API, which wraps OpenSSL’s d2i_PKCS12_bio() and PKCS12_parse(), returns an object containing privateKey, certificate, and additionalCertificates. This enhancement reduces the need to use the openssl command-line interface or rely on third-party libraries like node-forge.

Additionally, the experimental Virtual File System (VFS) has been further developed. Contributors Matteo Collina and Philipp Dunkel have extended node:ffi to enable the loading of libraries directly from a mounted VFS, utilizing a self-cleaning anonymous memory file descriptor technique already in use by native addons on Linux.

These updates are part of a series of enhancements leading into the Node.js 26 LTS line, which is now designated as Active LTS under the codename “Lithium.” Compared to other runtimes like Bun and Deno, which offer richer standard libraries, these additions reflect a continued effort to enhance Node.js’s core functionality.

 

Source: InfoQ

What do you think of this story?

Share this story: