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.