A helper module for authors of Node.js native addon modules that loads the correct compiled `.node` file. It searches common build output locations for the current Node version, platform, and architecture, and throws a clear error message listing what it tried when loading fails.
Project status
- The repo appears quiet, with the last upstream push dated 2024-04-09 and the most recent published updates being from 2019 (1.5.0 in February 2019), so it does not look actively maintained as of 2026-08-12.
- Update cadence is low to nonexistent in recent years, with only a few tagged updates between 2018 and 2019 (1.3.1, 1.4.0, 1.5.0) and no newer update history shown since then.
AI summary generated
Recent updates
1.5.0
Release 1.5.0 is presented as adding support for Yarn PnP, along with improved detection of module resolution failures using actual error codes. The code diff mainly adjusts how resolution-related exceptions are detected and swallowed during binding setup.
Features1.4.0
Release 1.4.0 adds new native addon lookup paths to support additional build systems, including node-pre-gyp and node-qbs. It also updates the module to handle `file://`-prefixed filenames during resolution and includes some documentation and formatting changes.
Features1.3.1
Release 1.3.1 is a small patch update. It adds a webpack require hack intended to improve compatibility with webpack-based bundling setups.