Skip to content
JS
Package

@folder/xdg

Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows (win32), or MacOS (darwin).

v4.0.1, 3 Aug 2023MITCommonJSTypes: NoneFiles and file systems
$ npm install @folder/xdg

Key numbers

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

No weekly download data in the snapshot.

13,082 downloads last week, 70,389 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
4.0.1, 3 Aug 20233 years ago
First published
-
Last push to GitHub
30 Apr 2024877 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
30

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
38 kB
Dependencies (5)
initomlyamlwritepicomatch
npm install @folder/xdg
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@folder/xdg@4.0.1/
  • unpkghttps://unpkg.com/@folder/xdg@4.0.1/
  • esm.shhttps://esm.sh/@folder/xdg@4.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
cwd1.9m-10 years agoCommonJS-
normalize-path109.6m-8 years agoCommonJS-
@stdlib/fs-resolve-parent-path542k-7 months agoCommonJS-
resolve-glob20k-9 years agoCommonJS-
fs-mkdirp-stream2.1m-4 years agoCommonJS-
extract-path8.3k-6 years agoCommonJS-
@stdlib/fs-exists542k-7 months agoCommonJS-
@stdlib/fs-read-file345k-7 months agoCommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.