Skip to content
JS
Package

app-root-path

Determine an app's root path from anywhere inside the app

v3.1.0, 16 Aug 2022MITCommonJSTypes: Bundled
$ npm install app-root-path

Key numbers

As of 25 Sept 2026
Weekly downloads
4.3m
+28% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v3.1.0
GitHub stars
603
30 forks
Open issues / PRs
9 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 8.8m (26 May 2026)Low 2.2m (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.

4,329,945 downloads last week, 21,011,261 in the last month. The 12-month change of +28% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
016 in total
Latest version
3.1.0, 16 Aug 20224 years ago
First published
7 Aug 2014
Last push to GitHub
1 Nov 20221,423 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
2,595

Major versions

  1. v3 first release 3.0.0, 31 Oct 2019
  2. v2 first release 2.0.0, 7 Sept 2016
  3. v1 first release 1.0.0, 7 Nov 2014
  4. v0 first release 0.0.1, 7 Aug 2014

Recent releases

VersionPublished
3.1.016 Aug 2022
3.0.031 Oct 2019
2.2.125 Mar 2019
2.2.022 Mar 2019
2.1.023 Jun 2018
2.0.18 Sept 2016
2.0.07 Sept 2016
1.4.07 Sept 2016
1.3.022 Jul 2016
1.2.117 Jun 2016
1.2.01 Dec 2015
1.1.01 Dec 2015
1.0.07 Nov 2014
0.1.129 Oct 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 6.0.0
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (0)
None
npm install app-root-path
  • jsDelivrhttps://cdn.jsdelivr.net/npm/app-root-path@3.1.0/
  • unpkghttps://unpkg.com/app-root-path@3.1.0/
  • esm.shhttps://esm.sh/app-root-path@3.1.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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