Safely and consistently resolve the exports of a package, matching Node.js's require() algorithm, including support for exports fields in package.json files. This package elegantly handles various module formats (CJS, ESM, and dual packages) and complex export conditions. It ensures predictable and reliable module resolution, shielding developers from inconsistencies and potential errors related to module loading. Essential for modern JavaScript projects leveraging ES modules alongside traditional CommonJS.
The resolve.exports npm package had initial releases in January 2021, followed by a single release in October 2021. In January 2023, version 1.1.1 and 2.0.0 were released, with two more versions in March 2023. The last release of the package was in December 2024. There haven't been any releases in 2025 till September 5.
Resolve.exports npm package downloads show steady growth from March 2024 (75.9M) to August 2025 (113.9M), with peaks in July 2025 (130.4M) and June 2025 (135.2M). September 2025 shows a preliminary download count of 18.4M, but the month is incomplete.