</>PackageGraphPackageGraph

resolve

npmv1.22.12

resolve like require.resolve() on behalf of files asynchronously and synchronously

226.9M
Weekly downloads
2
Dependents
21
Dependencies
100/100
Popularity

Overview

resolve is an npm package that resolve like require.resolve() on behalf of files asynchronously and synchronously. It is extremely widely used, with about 226.9M downloads per week and 2 known dependents in the graph. The latest version is 1.22.12, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need resolve like require.resolve() on behalf of files asynchronously and synchronously and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (226.9M weekly downloads).
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (21 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of resolve.

Dependencies

Dev (17)

@ljharb/eslint-config ^22.2.2array.prototype.map ^1.0.8copy-dir ^1.3.0eclint ^2.8.1eslint ^9.39.1in-publish ^2.0.1jiti ^0.0.0mkdirp ^0.5.6mv ^2.1.1npmignore ^0.3.5object-keys ^1.1.1rimraf ^2.7.1safe-publish-latest ^2.0.0semver ^6.3.1tap ^0.4.13tape ^5.9.0tmp ^0.0.31

Used by

Popular packages that depend on resolve.

Alternatives to resolve

Frequently installed together

Version history

VersionPublishedLicense
2.0.0-next.72 months agoMIT
1.22.12latest3 months agoMIT
2.0.0-next.65 months agoMIT
1.22.119 months agoMIT
1.22.101 year agoMIT
1.22.91 year agoMIT
2.0.0-next.52 years agoMIT
1.22.82 years agoMIT
1.22.72 years agoMIT
1.22.62 years agoMIT
1.22.52 years agoMIT
1.22.43 years agoMIT
1.22.33 years agoMIT
1.22.23 years agoMIT
2.0.0-next.44 years agoMIT
1.22.14 years agoMIT
1.22.04 years agoMIT
1.21.14 years agoMIT
1.21.04 years agoMIT
1.20.05 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install resolve?

Run `npm install resolve` to add resolve to your npm project.

What license is resolve released under?

resolve is distributed under the MIT license.

How popular is resolve?

resolve has approximately 226,947,248 downloads per week and 2 known dependent packages.