Skip to content
JS
Package

xdg-portable

Determine XDG Base Directory paths (OS/platform portable)

v10.6.0, 6 Feb 2023MITESM + CommonJSTypes: Bundled
$ npm install xdg-portable

Key numbers

As of 25 Sept 2026
Weekly downloads
6.7m
+594% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
3 years ago
v10.6.0
GitHub stars
8
1 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 8.3m (25 Aug 2026)Low 718.2k (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.

6,698,702 downloads last week, 31,526,971 in the last month. The 12-month change of +594% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
028 in total
Latest version
10.6.0, 6 Feb 20233 years ago
First published
22 Jun 2019
Last push to GitHub
29 Mar 2025544 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
9

Major versions

  1. v10 first release 10.0.0, 5 Aug 2022
  2. v9 first release 9.0.0, 14 Feb 2021
  3. v8 first release 8.0.0, 12 Feb 2021
  4. v7 first release 7.0.0, 21 Jul 2019
  5. v6 first release 6.0.0, 30 Jun 2019
  6. v5 first release 5.0.0, 22 Jun 2019

Recent releases

VersionPublished
10.6.06 Feb 2023
10.5.113 Aug 2022
10.5.013 Aug 2022
10.4.011 Aug 2022
10.3.09 Aug 2022
10.2.06 Aug 2022
10.1.06 Aug 2022
10.0.05 Aug 2022
9.4.027 Feb 2021
9.3.022 Feb 2021
9.2.021 Feb 2021
9.1.014 Feb 2021
9.0.014 Feb 2021
8.1.014 Feb 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 4.0
Runtimes
-
Unpacked size (npm)
124 kB
Dependencies (2)
fseventsos-paths
npm install xdg-portable
  • jsDelivrhttps://cdn.jsdelivr.net/npm/xdg-portable@10.6.0/
  • unpkghttps://unpkg.com/xdg-portable@10.6.0/
  • esm.shhttps://esm.sh/xdg-portable@10.6.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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