This is a version of the resolve module that is extended with support for Conditional Export Maps, including Package Exports as shipped in Node.
The resolve module powers module resolution in Webpack, Rollup and Browserify.
The module maintains the same API and functionality as the original resolve() module.