# @pnpm/fs.symlink-dependency

> Symlink a dependency to node_modules

Latest version **1100.0.24** (published 2026-10-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pnpm/fs.symlink-dependency
pnpm add @pnpm/fs.symlink-dependency
yarn add @pnpm/fs.symlink-dependency
bun add @pnpm/fs.symlink-dependency
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1100.0.24 |
| Published | 2026-10-06 |
| First published | 2026-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.13 |
| Dependencies | 5 |
| Unpacked size | 29.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 36788 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm11 |

## Links

- npm: https://www.npmjs.com/package/@pnpm/fs.symlink-dependency
- Repository: https://github.com/pnpm/pnpm/tree/main/pnpm11/fs/symlink-dependency
- Homepage: https://github.com/pnpm/pnpm/tree/main/pnpm11/fs/symlink-dependency#readme
- Issues: https://github.com/pnpm/pnpm/issues
- Funding: https://opencollective.com/pnpm
- npm.io page: https://npm.io/package/@pnpm/fs.symlink-dependency

## Dependencies (5)

- [@pnpm/error](https://npm.io/package/@pnpm/error.md) 1100.2.2
- [@pnpm/types](https://npm.io/package/@pnpm/types.md) 1102.1.1
- [symlink-dir](https://npm.io/package/symlink-dir.md) ^10.0.3
- [@pnpm/core-loggers](https://npm.io/package/@pnpm/core-loggers.md) 1101.0.2
- [validate-npm-package-name](https://npm.io/package/validate-npm-package-name.md) 7.0.2

## Recent versions

- 1100.0.24 (latest) — 2026-10-06
- 1100.0.23 — 2026-10-03
- 1100.0.22 — 2026-09-28
- 1100.0.21 — 2026-09-25
- 1100.0.20 — 2026-09-20
- 1100.0.19 — 2026-08-29
- 1100.0.18 — 2026-08-23
- 1100.0.17 — 2026-08-03
- 1100.0.16 — 2026-07-31
- 1100.0.15 — 2026-07-29
- 1100.0.14 — 2026-07-23
- 1100.0.13 — 2026-07-22
- 1100.0.12 — 2026-07-16
- 1100.0.11 — 2026-07-13
- 1100.0.10 — 2026-06-15
- … 11 more at https://npm.io/package/@pnpm/fs.symlink-dependency/versions

## README

# @pnpm/fs.symlink-dependency

> Symlink a dependency to node_modules

## Installation

```
pnpm install @pnpm/fs.symlink-dependency
```

## Usage

```ts
import { symlinkDependency } from '@pnpm/fs.symlink-dependency'

await symlinkDependency('/home/src/foo', '/home/src/my-project/node_modules', 'foo')
//> { reused: false }
```

## License

MIT

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