YARN website screenshot

YARN

YARN (Yet Another Resource Negotiator in the original Hadoop context; also the JavaScript package manager) refers here to the yarnpkg.com JavaScript package manager. Yarn is a fast, reliable, and secure dependency management tool for JavaScript. Originally developed by Meta as an alternative to npm, Yarn offers deterministic dependency resolution, offline caching, parallel installation, and Plug'n'Play (PnP) module resolution. The project is actively maintained under the yarnpkg/berry repository (Yarn 2+) with a modular plugin architecture. Yarn provides a programmatic JavaScript/TypeScript API via @yarnpkg/core for building tools and plugins.

YARN publishes 2 APIs on the APIs.io network. Tagged areas include JavaScript, Node.js, Package Manager, and YARN.

The YARN catalog on APIs.io includes 1 Spectral governance ruleset.

YARN’s developer surface includes documentation, getting-started guide, API reference, changelog, and 8 more developer resources.

34.2/100 thin ▬ flat Agent 3/100 human only Full breakdown ↓
scored 2026-08-05 · rubric v0.9.1
AccessFreemium
2 APIs 11 Features 6 Use Cases
JavaScriptNode.jsPackage ManagerYARN

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-05 · rubric v0.9.1
Composite quality — 34.2/100 · thin
Contract Quality 0.0 / 25
Developer Ergonomics 6.5 / 20
Commercial Clarity 7.9 / 20
Operational Transparency 6.8 / 13
Governance 7.0 / 12
Discoverability 5.9 / 10
Agent readiness — 3/100 · human only
Machine-Readable Contract 0 / 18
Agentic Access Contract 0 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/yarn: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 2

Individual APIs this provider publishes, each with its own machine-readable definition.

YARN Core API

The @yarnpkg/core programmatic JavaScript/TypeScript API that allows applications to interact with Yarn projects, workspaces, and dependency resolution. Used for building Yarn p...

YARN CLI

The Yarn command-line interface built on @yarnpkg/cli, providing commands for package installation, workspace management, publishing, and more. Supports a plugin system for exte...

Pricing Plans 1

Published pricing tiers and plan structures.

Yarn Plans Pricing

3 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Yarn Rate Limits

5 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Yarn Finops

FINOPS

Features 11

Notable capabilities this provider offers.

Workspaces

First-class monorepo support letting projects split into sub-components managed from a single root.

Plug'n'Play (PnP)

Alternative installation strategy that eliminates node_modules in favor of a single resolution map for faster, stricter installs.

Plugin Architecture

Modular core with 25+ default plugins and a public API for building custom workflows and integrations.

Offline Caching

Local cache of downloaded packages enabling reproducible installs without network access.

Parallel Installation

Concurrent dependency fetching and linking for faster installs versus serial package managers.

Deterministic Resolution

Lockfile-driven dependency resolution that produces identical installs across machines and CI runs.

Hardened Mode

Stricter install mode that verifies registry metadata against the lockfile to defend against supply-chain tampering.

Cross-platform Shell

Built-in shell interpreter so package scripts behave consistently across Linux, macOS, and Windows.

Constraints

Declarative rules for enforcing dependency policies and conventions across a workspace.

Interactive Commands

Search and upgrade UIs that let developers explore and manage dependencies interactively.

Programmatic API

TypeScript-first @yarnpkg/core surface for building plugins, tooling, and CI integrations.

Scroll for all 11

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

YARN API Rules

5 rules · 3 warnings 2 info

SPECTRAL

JSON Schema 1

Standalone JSON Schema definitions for this provider's data models.

YARN Package

20 properties

JSON SCHEMA

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Yarn Domain Security

TLSv1.2

SECURITY

Use Cases 6

What developers build with this provider.

Monorepo Management

Coordinate dependencies, scripts, and releases across many packages in a single repository.

Dependency Management

Install, upgrade, and audit JavaScript and TypeScript dependencies for libraries and applications.

Plugin Development

Build and distribute plugins that extend the Yarn CLI with project-specific commands and behaviors.

Reproducible CI Builds

Use the lockfile, offline cache, and hardened mode to keep CI installs deterministic and tamper-resistant.

Package Publishing

Publish packages to npm and other registries via the npm-related CLI commands and release workflows.

Workspace Coordination

Run scripts across workspaces, share dependencies, and enforce constraints in large multi-package projects.

Integrations 8

Pre-built integrations with other platforms and tools.

npm Registry

Primary package registry for installing and publishing JavaScript packages.

Node.js

Runtime that executes Yarn-managed packages and the Yarn CLI itself.

TypeScript

Yarn ships TypeScript type definitions and is itself written primarily in TypeScript.

Corepack

Node.js shim that pins and provisions the Yarn version per project.

VS Code Editor SDK

Editor SDK integration that wires Yarn PnP-managed dependencies into VS Code's TypeScript and ESLint tooling.

JetBrains Editor SDK

Editor SDK integration for IntelliJ-family IDEs to resolve PnP dependencies in editor tooling.

GitHub

Source repository, issue tracker, and release distribution for the yarnpkg organization.

Discord

Community chat for support, contributor coordination, and announcements.

Scroll for all 8

Resources

Get Started 1

Portal, sign-up, and the first successful call

Documentation 3

Reference material describing how the API behaves

Build 3

SDKs, sample code, and the tooling you integrate with

Access & Security 1

Authentication, authorization, and security posture

Learn 1

Tutorials, courses, talks, and written guidance

Operate 1

Status, limits, changes, and where to get help

Other 2

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: yarn
name: YARN
description: YARN (Yet Another Resource Negotiator in the original Hadoop context; also the JavaScript package manager) refers
  here to the yarnpkg.com JavaScript package manager. Yarn is a fast, reliable, and secure dependency management tool for
  JavaScript. Originally developed by Meta as an alternative to npm, Yarn offers deterministic dependency resolution, offline
  caching, parallel installation, and Plug'n'Play (PnP) module resolution. The project is actively maintained under the yarnpkg/berry
  repository (Yarn 2+) with a modular plugin architecture. Yarn provides a programmatic JavaScript/TypeScript API via @yarnpkg/core
  for building tools and plugins.
type: Index
url: https://github.com/yarnpkg/berry
accessModel:
  pricing: freemium
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Freemium
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/yarn.png
tags:
- JavaScript
- Node.js
- Package Manager
- YARN
created: '2025'
modified: '2026-05-03'
specificationVersion: '0.19'
apis:
- aid: yarn:yarn-core-api
  name: YARN Core API
  description: The @yarnpkg/core programmatic JavaScript/TypeScript API that allows applications to interact with Yarn projects,
    workspaces, and dependency resolution. Used for building Yarn plugins and tooling integrations.
  humanURL: https://yarnpkg.com/api
  baseURL: https://yarnpkg.com
  tags:
  - API
  - JavaScript
  - Package Manager
  - Plugin
  - TypeScript
  properties:
  - type: Documentation
    url: https://yarnpkg.com/api
  - type: APIReference
    url: https://yarnpkg.com/api
  - type: GitHubRepository
    url: https://github.com/yarnpkg/berry
  - type: GettingStarted
    url: https://yarnpkg.com/advanced/plugin-tutorial
  - type: Tutorials
    url: https://yarnpkg.com/advanced/plugin-tutorial
- aid: yarn:yarn-cli
  name: YARN CLI
  description: The Yarn command-line interface built on @yarnpkg/cli, providing commands for package installation, workspace
    management, publishing, and more. Supports a plugin system for extensibility.
  humanURL: https://yarnpkg.com/cli
  baseURL: https://yarnpkg.com
  tags:
  - CLI
  - JavaScript
  - Package Manager
  properties:
  - type: Documentation
    url: https://yarnpkg.com/cli
  - type: APIReference
    url: https://yarnpkg.com/cli
  - type: CLI
    url: https://yarnpkg.com/cli
  - type: GettingStarted
    url: https://yarnpkg.com/getting-started/install
common:
- type: DomainSecurity
  url: security/yarn-domain-security.yml
- type: Documentation
  url: https://yarnpkg.com/getting-started
- type: GettingStarted
  url: https://yarnpkg.com/getting-started/install
- type: Tutorials
  url: https://yarnpkg.com/getting-started/usage
- type: APIReference
  url: https://yarnpkg.com/api
- type: GitHubOrganization
  url: https://github.com/yarnpkg
- type: GitHubRepository
  url: https://github.com/yarnpkg/berry
- type: SDKs
  url: https://www.npmjs.com/package/yarn
- type: ChangeLog
  url: https://github.com/yarnpkg/berry/blob/master/CHANGELOG.md
- type: BestPractices
  url: https://yarnpkg.com/migration/guide
- type: Resources
  url: https://yarnpkg.com/configuration/yarnrc
- type: JSONSchema
  url: https://raw.githubusercontent.com/api-evangelist/yarn/main/json-schema/yarn-package-schema.json
- type: Features
  data:
  - name: Workspaces
    description: First-class monorepo support letting projects split into sub-components managed from a single root.
  - name: Plug'n'Play (PnP)
    description: Alternative installation strategy that eliminates node_modules in favor of a single resolution map for faster,
      stricter installs.
  - name: Plugin Architecture
    description: Modular core with 25+ default plugins and a public API for building custom workflows and integrations.
  - name: Offline Caching
    description: Local cache of downloaded packages enabling reproducible installs without network access.
  - name: Parallel Installation
    description: Concurrent dependency fetching and linking for faster installs versus serial package managers.
  - name: Deterministic Resolution
    description: Lockfile-driven dependency resolution that produces identical installs across machines and CI runs.
  - name: Hardened Mode
    description: Stricter install mode that verifies registry metadata against the lockfile to defend against supply-chain
      tampering.
  - name: Cross-platform Shell
    description: Built-in shell interpreter so package scripts behave consistently across Linux, macOS, and Windows.
  - name: Constraints
    description: Declarative rules for enforcing dependency policies and conventions across a workspace.
  - name: Interactive Commands
    description: Search and upgrade UIs that let developers explore and manage dependencies interactively.
  - name: Programmatic API
    description: TypeScript-first @yarnpkg/core surface for building plugins, tooling, and CI integrations.
- type: UseCases
  data:
  - name: Monorepo Management
    description: Coordinate dependencies, scripts, and releases across many packages in a single repository.
  - name: Dependency Management
    description: Install, upgrade, and audit JavaScript and TypeScript dependencies for libraries and applications.
  - name: Plugin Development
    description: Build and distribute plugins that extend the Yarn CLI with project-specific commands and behaviors.
  - name: Reproducible CI Builds
    description: Use the lockfile, offline cache, and hardened mode to keep CI installs deterministic and tamper-resistant.
  - name: Package Publishing
    description: Publish packages to npm and other registries via the npm-related CLI commands and release workflows.
  - name: Workspace Coordination
    description: Run scripts across workspaces, share dependencies, and enforce constraints in large multi-package projects.
- type: Integrations
  data:
  - name: npm Registry
    description: Primary package registry for installing and publishing JavaScript packages.
  - name: Node.js
    description: Runtime that executes Yarn-managed packages and the Yarn CLI itself.
  - name: TypeScript
    description: Yarn ships TypeScript type definitions and is itself written primarily in TypeScript.
  - name: Corepack
    description: Node.js shim that pins and provisions the Yarn version per project.
  - name: VS Code Editor SDK
    description: Editor SDK integration that wires Yarn PnP-managed dependencies into VS Code's TypeScript and ESLint tooling.
  - name: JetBrains Editor SDK
    description: Editor SDK integration for IntelliJ-family IDEs to resolve PnP dependencies in editor tooling.
  - name: GitHub
    description: Source repository, issue tracker, and release distribution for the yarnpkg organization.
  - name: Discord
    description: Community chat for support, contributor coordination, and announcements.
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com