</>PackageGraphPackageGraph

resolve-from

npmv5.0.0

Resolve the path of a module like `require.resolve()` but from a given path

207.1M
Weekly downloads
2
Dependents
3
Dependencies
100/100
Popularity

Overview

resolve-from is an npm package that resolve the path of a module like `require.resolve()` but from a given path. It is extremely widely used, with about 207.1M downloads per week and 2 known dependents in the graph. The latest version is 5.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need resolve the path of a module like `require.resolve()` but from a given path and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to 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 (207.1M weekly downloads).
  • Clear open-source license (MIT).
  • Lean dependency tree (3 direct dependencies).

Cons

  • 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-from.

knexresolve-cwdresolve-from
resolve-from dependencies dependents

Dependencies

Dev (3)

ava ^1.4.1tsd ^0.7.2xo ^0.24.0

Used by

Popular packages that depend on resolve-from.

Alternatives to resolve-from

Frequently installed together

Version history

VersionPublishedLicense
5.0.0latest7 years agoMIT
4.0.08 years agoMIT
3.0.09 years agoMIT
2.0.010 years agoMIT
1.0.110 years agoMIT
1.0.012 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install resolve-from?

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

What license is resolve-from released under?

resolve-from is distributed under the MIT license.

How popular is resolve-from?

resolve-from has approximately 207,145,729 downloads per week and 2 known dependent packages.