Download Latest Version v4.4.1 source code.tar.gz (88.8 kB)
Email in envelope

Get an email when there's a new version of Configure your Node.js Applications

Home / v4.3.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-02-12 797 Bytes
v4.3.0 source code.tar.gz 2026-02-12 61.1 kB
v4.3.0 source code.zip 2026-02-12 102.9 kB
Totals: 3 Items   164.8 kB 2

What's Changed

  • new callback mechanism for handling deferred and async configuration evaluation
  • ./async.js and ./defer.js are now deprecated

New Async and Deferred mechanism

Instead of using async.js and defer.js, your executable config files can return a synchronous or asynchronous function. Note that if you use async deferred functions through the new mechanism, you need to call Util.resolveAsyncConfig() instead of the old version.

Util.resolveAsyncConfig() also fixes an issue where using defer in an array did not function properly [#876]

The old implementation has been marked as deprecated and will be removed in order to facilitate migrating node-config to ESM.

Full Changelog: https://github.com/node-config/node-config/compare/v4.2.1...v4.3.0

Source: README.md, updated 2026-02-12