Skip to content
JS
Package

get-root-path

Get the closest parent folder containing a package.json file

v3.0.1, 8 Jan 2025MITCommonJSTypes: Bundled
$ npm install get-root-path

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 67k (21 Jul 2026)Low 10.5k (4 Nov 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

40,979 downloads last week, 184,737 in the last month. The 12-month change of +246% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.1, 8 Jan 20251 year ago
First published
-
Last push to GitHub
2 Apr 2026175 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
23

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
10 kB
Dependencies (3)
bluebirdmad-logsapp-root-path
npm install get-root-path
  • jsDelivrhttps://cdn.jsdelivr.net/npm/get-root-path@3.0.1/
  • unpkghttps://unpkg.com/get-root-path@3.0.1/
  • esm.shhttps://esm.sh/get-root-path@3.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.