Node.js Brings Debounce, Throttle, and PKCS#12 Parsing Into Core Modules
Node.js 26.10.0 adds util.debounce() and util.throttle(), plus util.markPromiseAsHandled(), to the core library. It also introduces crypto.parsePKCS12() for reading .p12 and .pfx bundles, and extends the experimental Virtual File System to node:ffi. The additions reduce the need for some userland dependencies. Node.js 26 is now Active LTS. By Daniel Curtis
Node.js, the widely-used open-source JavaScript runtime, has integrated three long-awaited utilities into its core libraries. The additions, incorporated in Node.js version 26.10.0, include debounce() and throttle() functions for rate-limiting, as well as a PKCS#12 parsing API. These enhancements were proposed by James M Snell and are now included in the util module.
The debounce and throttle helpers, previously found in popular third-party packages like lodash, are now available out-of-the-box. Matteo Collina pointed out that these utilities are commonly used in nearly every Node.js application. The new API in crypto.parsePKCS12() allows developers to extract private keys and certificates from .p12 and .pfx files, eliminating the need to rely on external tools or packages.
The Virtual File System (VFS) in Node.js has also expanded, now enabling the loading of libraries directly from mounted VFS instances. These core additions represent a trend towards reducing the reliance on userland utilities in Node.js, ultimately streamlining the development process and minimizing supply-chain risks.
Written by urgent.news from InfoQ's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.