Package
@folder/xdg
Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows (win32), or MacOS (darwin).
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- jsDelivr
https://cdn.jsdelivr.net/npm/@folder/xdg@4.0.1/ - unpkg
https://unpkg.com/@folder/xdg@4.0.1/ - esm.sh
https://esm.sh/@folder/xdg@4.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| cwd | 1.9m | - | 10 years ago | CommonJS | - |
| normalize-path | 109.6m | - | 8 years ago | CommonJS | - |
| @stdlib/fs-resolve-parent-path | 542k | - | 7 months ago | CommonJS | - |
| resolve-glob | 20k | - | 9 years ago | CommonJS | - |
| fs-mkdirp-stream | 2.1m | - | 4 years ago | CommonJS | - |
| extract-path | 8.3k | - | 6 years ago | CommonJS | - |
| @stdlib/fs-exists | 542k | - | 7 months ago | CommonJS | - |
| @stdlib/fs-read-file | 345k | - | 7 months ago | CommonJS | - |
Indexability: Indexed.