# resolve

> Node's require.resolve() algorithm as a library, async and sync

Source: https://talira.ai/catalog/resolve-3e779t3d
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / build / module resolution](https://talira.ai/categories/developer-tools/build/module-resolution), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [James Halliday](https://talira.ai/orgs/james-halliday.md)

resolve implements Node.js's require.resolve() algorithm so a tool can find the file a module id points to on behalf of another file, asynchronously or synchronously. Options set the base directory, file extensions, extra paths and package iteration, and it can resolve a package's exports field for a given Node.js version or for import as well as require.

## Links

- GitHub: https://github.com/browserify/resolve

## Problems it solves

- find which file a require() in another file would load
- resolve module paths the way Node does from my build tool
- resolve a package's exports field for a given Node.js version

## Features

- async and sync resolution like require.resolve()
- custom base directory, extensions and paths
- exports field resolution by Node.js version or category
- require or import conditions

## Trust

Overall: 0.49 out of 1.
Signals: maintenance 0.67, adoption 0.58, momentum 0.22, community 0.73, backing 0.30, extensibility 0.00.

- last commit 26 days ago
- 10 commits in the last 90 days
- 798 GitHub stars
- 65 contributors
- accepts sponsorship (Github, Tidelift)
- backed by James Halliday

## Alternatives

- [tsconfig-paths](https://talira.ai/catalog/tsconfig-paths-sfbsq5jf.md): Make Node resolve the paths aliases in your tsconfig.json at run time

## Sources

[^1]: https://github.com/browserify/resolve/blob/main/readme.markdown (checked 29 Nov 2026)
[^2]: https://github.com/browserify/resolve/blob/main/LICENSE (checked 29 Nov 2026)
