# realpath-missing

> Canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence

Latest version **2.0.0** (published 2026-03-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install realpath-missing
pnpm add realpath-missing
yarn add realpath-missing
bun add realpath-missing
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-03-11 |
| First published | 2020-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=22.13 |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 104 |
| Author | Zoltan Kochan |
| Maintainers | zkochan |

## Links

- npm: https://www.npmjs.com/package/realpath-missing
- Repository: https://github.com/zkochan/packages/tree/main/realpath-missing
- Homepage: https://github.com/zkochan/packages/tree/main/realpath-missing#readme
- npm.io page: https://npm.io/package/realpath-missing

## Recent versions

- 2.0.0 (latest) — 2026-03-11
- 1.1.0 (next) — 2021-02-11
- 1.0.0 — 2020-04-02

## README

# realpath-missing

> `realpath-missing` resolves the absolute path of a file or directory by following every symbolic link in every component of the given name recursively, even if some of the components do not exist.

<!--@shields('npm')-->
[![npm version](https://img.shields.io/npm/v/realpath-missing.svg)](https://www.npmjs.com/package/realpath-missing)
<!--/@-->

## Installation

```sh
<npm|yarn|pnpm> add realpath-missing
```

## Usage

```js
'use strict'
const realpathMissing = require('realpath-missing')

console.log(await realpathMissing('package.json'))
//> /home/src/package.json
```

## API

### `realpathMissing(path): Promise<path>`

## License

[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io)

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