npm · npm:is-subdir
is-subdir active
Return whether a directory is a subdirectory of another directory
The latest stable version of is-subdir is 2.0.1, published on 2026-09-28. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.1 |
|---|---|
| Published | 2026-09-28 13:54:39 UTC |
| Install | npm install is-subdir@latest |
| Requires (engines) | {"node":">=22.13"} |
| Peer dependencies | — |
| Dist-tags | next: 1.1.1 latest: 2.0.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 21:56:33 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-09-28 13:54:39 UTC · 45 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 8 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.1 | 2026-09-28 13:54:39 UTC |
2.0.0 | 2026-03-11 07:52:34 UTC |
1.2.0 | 2021-01-05 16:52:45 UTC |
1.1.1 | 2019-10-06 22:09:34 UTC |
1.0.3 | 2019-03-01 23:25:54 UTC |
1.0.2 | 2017-09-30 14:48:29 UTC |
1.0.1 | 2017-07-16 16:39:35 UTC |
1.0.0 | 2017-04-14 17:59:57 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 | 1.2.0 |
node 18 | 1.2.0 |
node 20 | 1.2.0 |
node 22 | 2.0.1 |
node 24 | 2.0.1 |
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 is-subdir?
The latest stable version of is-subdir is 2.0.1, published on 2026-09-28. Verified by Vigia on 2026-11-12.
How do I install the latest version of is-subdir?
Run npm install is-subdir@latest. The latest stable version is 2.0.1 (verified 2026-11-12).
Is is-subdir deprecated?
No. is-subdir is not marked as deprecated in the registry.
Which Node.js version does is-subdir require?
is-subdir 2.0.1 declares this requirement: {"node":">=22.13"}.
Does is-subdir 2.0.1 have known vulnerabilities?
No known advisories affect is-subdir 2.0.1 according to the data Vigia checks.
Is is-subdir still maintained?
is-subdir published 2 stable releases in the last 12 months; the most recent was 45 days ago. Activity: active.
Observed changes
- Mon Sep 28 2026 15:03:11 GM +0000 (Coordinated Universal Time) — released 2.0.0 → 2.0.1
Related packages
- junk
- walkdir
- @babel/plugin-proposal-class-static-block
- quill
- @codemirror/theme-one-dark
- js2xmlparser
- babel-eslint
- workbox-webpack-plugin
- @swc-node/register
- focus-lock
- move-concurrently
- react-hot-toast
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/is-subdir) [](https://vigia.coredls.cloud/npm/is-subdir) [](https://vigia.coredls.cloud/npm/is-subdir)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/is-subdir
GET https://vigia.coredls.cloud/v1/packages/npm/is-subdir/versions/{version}