Socket
Socket
Sign inDemoInstall

@pnpm/link-bins

Package Overview
Dependencies
123
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pnpm/link-bins

Link bins to node_modules/.bin


Version published
Weekly downloads
249K
decreased by-5.65%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Link bins to node_modules/.bin

npm version Build Status

Installation

pnpm add @pnpm/link-bins

Usage

import linkBins, {linkBinsOfPackages} from '@pnpm/link-bins'

function warn (msg) { console.warn(msg) }

await linkBins('node_modules', 'node_modules/.bin', {warn})

const packages = [{manifest: packageJson, location: pathToPackage}]
await linkBinsOfPackages(packages, 'node_modules/.bin', {warn})

License

MIT

Keywords

FAQs

Last updated on 05 Jun 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc