Skip to main content

yarn

v1.22.22MEDIUM Risk

📦🐈 Fast, reliable, and secure dependency management.

C65/100
Install Command
npm install yarn
orpnpm add yarn
Typosquat Defense
Authentic Name

No similarity to known typosquatting targets.

Lifecycle Scripts
Automated Scripts

Executes code during install (preinstall: :; (node ./preinstall.js > /dev/null 2>&1 || true)).

License Type
BSD-2-Clause

Permissive open-source license. Safe for enterprise & proprietary software.

Package Specifications

Unpacked Size
5.09 MB
Dependencies
0
Maintainers
1
Last Published
Mar 9, 2024

Head-to-Head Comparisons with yarn

Free VS Code Extension

Detect Supply Chain Attacks Directly in Your Editor

Get instant CodeLens risk scores, typosquatting warnings, and license audits right inside your package.json file with zero configuration.

Install Dependency Risk Lens

Frequently Asked Questions

Is yarn safe to use in production?
yarn received a Security Grade of C (65/100) with a risk evaluation of MEDIUM. Warning: It executes automatic install scripts.
What license does yarn use?
yarn is licensed under the BSD-2-Clause license (PERMISSIVE). This is a permissive open-source license suitable for commercial applications.
How do I install yarn?
Install it via NPM using: npm install yarn, or via PNPM: pnpm add yarn, or Yarn: yarn add yarn.