Back to Explore

sindresorhus/resolve-from

GitHub
1 watchersOpen source

Last release: 4/15/2019

Resolve-from helps you find the filesystem path of a module similarly to Node.js require.resolve(), but using a specified starting directory. It throws an error when the module can’t be found (or returns undefined via resolveFrom.silent). Useful when you need deterministic module path resolution relative to a particular directory.

Project status

  • The provided evidence shows the last known update was v5.0.0 in 2019-04-15, and the upstream repo’s last recorded push was 2021-01-23, suggesting maintenance is ongoing but not active in the short term.
  • Apparent update cadence appears low, with no additional updates listed after v5.0.0 in the provided history.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v5.0.0

    4/15/2019

    v5.0.0 introduces a TypeScript definition and changes runtime behavior for missing modules. It also requires a newer Node.js version, and it modifies the return value when a module cannot be found.

    BreakingFeatures