Socket
Book a DemoInstallSign in
Socket

@pnpm/symlink-dependency

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/symlink-dependency

Symlink a dependency to node_modules

latest
Source
npmnpm
Version
1000.0.16
Version published
Weekly downloads
44K
209.25%
Maintainers
2
Weekly downloads
 
Created
Source

Symlink a dependency to node_modules

Installation

pnpm install @pnpm/symlink-dependency

Usage

import { symlinkDependency } from '@pnpm/symlink-dependency'

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

License

MIT

Keywords

pnpm

FAQs

Package last updated on 15 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts