Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested `global-modules` package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some package - path to its entry point, its main export
License
tunnckoCore/resolve-package
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
Resolves a given package if it is installed locally, then tries to resolve it from global registry, using battle-tested `global-modules` package. Better approach than internal `require.resolve`, so you can trust. You just get absolute filepath to some package - path to its entry point, its main export
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Packages 0
No packages published