npm package
Homexdg-basedir
xdg-basedir is a utility for retrieving XDG Base Directory paths on Linux systems. It provides access to directories for user-specific data, configuration, cache, and runtime files, making it useful for applications that need to manage user data in a standardized way. This package is not intended for use on macOS or Windows.
- lurq health score
- 48/100
- Confidence
- unproven
- Weekly downloads
- 20,951,405
- Latest version
- 5.1.0
- Last release
- Aug 5, 2021
- License
- MIT
Should you depend on xdg-basedir?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks xdg-basedir at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading xdg-basedir
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 4.0.0 → 5.1.0diff ready
- 3.0.0 → 4.0.0being extracted
- 2.0.0 → 3.0.0being extracted
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- puppeteer94/100 · proven
- puppeteer-core93/100 · proven
- @opentelemetry/sdk-trace92/100 · emerging
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 4, 2026; this page refreshes every 168 hours. Source repository.