# Yarn Protocols

**Canonical:** https://apis.io/apis/yarn-pkg/yarn-protocols/  
**Provider:** Yarn — https://apis.io/providers/yarn-pkg/  
**Documentation:** https://yarnpkg.com/protocol/npm

Yarn Protocols is one of 10 APIs that [Yarn](https://apis.io/providers/yarn-pkg/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Protocols, Dependency Resolution, and JavaScript. The published artifact set on APIs.io includes API documentation.

Yarn supports a rich set of dependency protocols beyond `npm:` semver — `git:`, `github:`, `file:`, `link:`, `portal:`, `patch:`, `exec:`, `workspace:`, and `http(s):`. Protocols are pluggable so custom resolvers can be added via plugins.

## Machine-readable artifacts (10)

- **Documentation** — https://yarnpkg.com/protocols
- **Documentation** — https://yarnpkg.com/protocol/npm
- **Documentation** — https://yarnpkg.com/protocol/git
- **Documentation** — https://yarnpkg.com/protocol/github
- **Documentation** — https://yarnpkg.com/protocol/file
- **Documentation** — https://yarnpkg.com/protocol/link
- **Documentation** — https://yarnpkg.com/protocol/portal
- **Documentation** — https://yarnpkg.com/protocol/patch
- **Documentation** — https://yarnpkg.com/protocol/exec
- **Documentation** — https://yarnpkg.com/protocol/workspace

## Other Yarn APIs (9)

- [Yarn CLI](https://apis.io/apis/yarn-pkg/yarn-cli/)
- [Yarn Workspaces](https://apis.io/apis/yarn-pkg/yarn-workspaces/)
- [Yarn Plug'n'Play](https://apis.io/apis/yarn-pkg/yarn-plug-n-play/)
- [Yarn Zero-Installs](https://apis.io/apis/yarn-pkg/yarn-zero-installs/)
- [Yarn Constraints](https://apis.io/apis/yarn-pkg/yarn-constraints/)
- [Yarn Plugin API](https://apis.io/apis/yarn-pkg/yarn-plugin-api/)
- [Yarn Version (Release Workflow)](https://apis.io/apis/yarn-pkg/yarn-version/)
- [Yarn Patch](https://apis.io/apis/yarn-pkg/yarn-patch/)
- [Yarn DLX](https://apis.io/apis/yarn-pkg/yarn-dlx/)

## Tags

Protocols, Dependency Resolution, JavaScript

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/yarn-pkg/yarn-protocols/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/yarn-pkg/.
