# parents

> return all the parent directories for a directory

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

## Install

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

## 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-01-14 |
| First published | 2012-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/parents) |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | James Halliday |
| Maintainers | substack |
| Keywords | directory, parent, path, tree |

## Links

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

## Dependencies (1)

- [path-platform](https://npm.io/package/path-platform.md) ~0.11.15

## 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-01-14
- 1.0.0 — 2014-07-09
- 0.0.3 — 2014-07-09
- 0.0.2 — 2013-12-02
- 0.0.1 — 2012-07-12
- 0.0.0 — 2012-07-12

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