# commondir

> compute the closest common parent for file paths

Latest version **1.0.1** (published 2015-03-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install commondir
pnpm add commondir
yarn add commondir
bun add commondir
```

## Health

**Score 18/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-03-14 |
| First published | 2011-06-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/commondir) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | James Halliday |
| Maintainers | substack |
| Keywords | common, path, directory, file, parent, root |

## Links

- npm: https://www.npmjs.com/package/commondir
- Repository: http://github.com/substack/node-commondir
- Homepage: https://github.com/substack/node-commondir
- Issues: https://github.com/substack/node-commondir/issues
- npm.io page: https://npm.io/package/commondir

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-03-14
- 1.0.0 — 2015-03-14
- 0.0.2 — 2015-03-14
- 0.0.1 — 2011-11-16
- 0.0.0 — 2011-06-28

---
_Source: https://npm.io/package/commondir · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
