Technology
Node.js adds utility functions for debouncing, throttling, and certificate parsing
Version 26.10.0 of the JavaScript runtime brings frequently-requested helpers into the standard library, reducing the need for external dependencies.
InfoQ
Node.js has incorporated several long-requested utilities directly into its standard library as part of the version 26.10.0 release. The additions address pain points that developers have historically solved with third-party packages.
Core timing utilities now built-in#
The most visible change is the addition of util.debounce() and util.throttle() functions to the node:util module. Rate-limiting helpers have been among the most frequently imported dependencies in Node.js projects, typically sourced from packages like lodash or throttle-debounce. The new built-in versions rework how they handle AbortSignal to properly cancel repeated function calls rather than just marking a single state, and include a leading-edge option that allows the first invocation to execute immediately.
The same update also introduced util.markPromiseAsHandled(), giving framework authors an explicit way to signal to the runtime that a promise rejection has been addressed, clearing up longstanding ambiguity around unhandled rejection detection.
PKCS#12 certificate parsing lands#
A second major addition is crypto.parsePKCS12(), which extracts private keys and certificates from .p12 and .pfx bundle files. While Node.js internally parsed these formats for TLS operations, the capability was never exposed to JavaScript code. The new API returns an object containing privateKey, certificate, and additionalCertificates fields, eliminating the need to shell out to the OpenSSL command-line tool or depend on separate libraries.
Virtual File System grows further#
The experimental Virtual File System infrastructure has been extended into the node:ffi module, allowing libraries to be loaded directly from mounted virtual filesystems using the same in-memory techniques that native addons employ on Linux. A related fix corrected a bug where dlopen was passing an undefined flags argument, which silently prevented addons from loading from the real filesystem.

