Skip to content
JS
Package

resolve-pkg

Resolve the path of a package regardless of it having an entry point

v3.0.1, 12 Feb 2026MITESM onlyTypes: BundledBuild tools
$ npm install resolve-pkg

Key numbers

As of 25 Sept 2026
Weekly downloads
803.9k
-27% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 months ago
v3.0.1
GitHub stars
54
6 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
5

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.7m (9 Jun 2026)Low 757.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

803,944 downloads last week, 4,195,876 in the last month. The 12-month change of -27% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
26 in total
Latest version
3.0.1, 12 Feb 20267 months ago
First published
19 Dec 2015
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
5
Dependents on npm
162

Major versions

  1. v3 first release 3.0.0, 2 Feb 2026
  2. v2 first release 2.0.0, 16 Apr 2019
  3. v1 first release 1.0.0, 13 Jan 2017
  4. v0 first release 0.1.0, 19 Dec 2015

Recent releases

VersionPublished
3.0.112 Feb 2026
3.0.02 Feb 2026
2.0.016 Apr 2019
1.0.013 Jan 2017
0.2.05 Aug 2016
0.1.019 Dec 2015
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
7.5 kB
Dependencies (1)
find-up-simple
npm install resolve-pkg
  • jsDelivrhttps://cdn.jsdelivr.net/npm/resolve-pkg@3.0.1/
  • unpkghttps://unpkg.com/resolve-pkg@3.0.1/
  • esm.shhttps://esm.sh/resolve-pkg@3.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.