npm · npm:xdg-basedir
xdg-basedir active
Get XDG Base Directory paths
The latest stable version of xdg-basedir is 5.1.0, published on 2021-08-05. Verified by Vigia on 2026-11-12.
| Latest stable version | 5.1.0 |
|---|---|
| Published | 2021-08-05 17:30:36 UTC |
| Install | npm install xdg-basedir@latest |
| Requires (engines) | {"node":">=12"} |
| Peer dependencies | — |
| Dist-tags | latest: 5.1.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:59:01 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "xdg-basedir", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/xdg-basedir . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2021-08-05 17:30:36 UTC · 1925 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 8 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
5.1.0 | 2021-08-05 17:30:36 UTC |
5.0.1 | 2021-04-05 08:30:05 UTC |
5.0.0 | 2021-04-05 07:48:35 UTC |
4.0.0 | 2019-04-30 04:09:47 UTC |
3.0.0 | 2017-02-13 09:32:24 UTC |
2.0.0 | 2015-06-13 12:47:10 UTC |
1.0.1 | 2015-01-13 17:57:21 UTC |
1.0.0 | 2014-10-06 12:42:04 UTC |
Showing the 8 most recent of 8 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 5.1.0 |
node 18 | 5.1.0 |
node 20 | 5.1.0 |
node 22 | 5.1.0 |
node 24 | 5.1.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of xdg-basedir?
The latest stable version of xdg-basedir is 5.1.0, published on 2021-08-05. Verified by Vigia on 2026-11-12.
How do I install the latest version of xdg-basedir?
Run npm install xdg-basedir@latest. The latest stable version is 5.1.0 (verified 2026-11-12).
Is xdg-basedir deprecated?
No. xdg-basedir is not marked as deprecated in the registry.
Which Node.js version does xdg-basedir require?
xdg-basedir 5.1.0 declares this requirement: {"node":">=12"}.
Does xdg-basedir 5.1.0 have known vulnerabilities?
No known advisories affect xdg-basedir 5.1.0 according to the data Vigia checks.
Is xdg-basedir still maintained?
xdg-basedir published 0 stable releases in the last 12 months; the most recent was 1925 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- xmlbuilder2
- postcss-discard-overridden
- @isaacs/fs-minipass
- postcss-reduce-transforms
- @google-cloud/paginator
- vfile-location
- copy-anything
- type
- @babel/helper-environment-visitor
- jspdf
- @types/cookie
- css-declaration-sorter
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/xdg-basedir) [](https://vigia.coredls.cloud/npm/xdg-basedir) [](https://vigia.coredls.cloud/npm/xdg-basedir)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/xdg-basedir
GET https://vigia.coredls.cloud/v1/packages/npm/xdg-basedir/versions/{version}