Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Yup

Simple schema validation library for JavaScript with chainable API and error handling.

Forms, validation and schemasNPM

GitHubWebsite

1. License

License from npm.

github.com/jquense/yup

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Yup does

Simple schema validation library for JavaScript with chainable API and error handling.

Yup popularity

69 / 100
Gid Score, #457 overall
16.6M
downloads a week, npm
23.6K
GitHub stars
17
agent projects use it
Yup: downloads per weeknpm, yup 16,577,837
Yup: GitHub starsjquense/yup 23,649

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Yup is used

  • Yup is a dependency in 17 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 64 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Zod (1,582 projects).
  • Projects that use it most often also use React (87.5%), Axios (54.7%), Formik (46.9%).

By coding agent

10 projects, 0.3%
9 projects, 0.3%
7 projects, 0.3%

Often used with

In 87.5% of its projects
In 54.7% of its projects
In 46.9% of its projects
In 79.7% of its projects
In 42.2% of its projects
In 42.2% of its projects
In 40.6% of its projects
In 37.5% of its projects

More about Yup

More in Forms, validation and schemas

Alternatives

Yup This page

MITGid 6916.6M/wk

Zod

TypeScript-first schema validation library with static type inference.

MITGid 89471M/wk

Valibot

Modular and type-safe schema validation library for structural data with minimal bundle size.

MITGid 6836M/wk

TypeBox

JSON Schema type builder with static type resolution for TypeScript validation.

MITGid 5817M/wk

Compare Yup with another tool

Get started

Install it.

npm install yup

No step-by-step start for Yup yet: we have not written its hand-checked card.