resolve-package

npmv1.0.1

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 p

License MITpermissive6 versions2 maintainers1 deps327,142 weekly dl
tunnckocore/resolve-package
54
/ 100
Health
safe to use

[email protected] is safe to use (health: 54/100)

Health breakdown0 – 100
0/25
maintenance
14/20
popularity
25/25
security
12/15
maturity
3/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

10.2 KBminified
3.8 KB gzipped
1 direct dependencies
side effects
🌟

TypeScript

0/10untyped
No type definitions available

Health History

Dependency Tree

License Audit

Dependencies (1)
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/resolve-package

First published · 2016-12-11T12:40:21.466Z

Last updated · 2016-12-13T22:12:58.967Z