Elestia Open Source Ratings
5.2

Yup

Reasonable, with limits. 8th of 10 validation libraries.

Yup is a mature, chainable schema validator. It made its name in form validation with Formik and has supported Standard Schema since v1.7. Development has stalled: there have been no commits or releases since September 2025, and its download growth trails the category. Keep it where it already runs, but pick Zod or Valibot for new TypeScript work.

Best for: Teams that already run Yup, often with Formik, and want to keep their existing form schemas.

GitHubnpm

Scores

Overall5.2

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

Yup still works well for form validation and is safe to keep, but development has stalled for over a year. Zod, Valibot and ArkType offer better TypeScript inference and are actively maintained. It is a good choice to keep where it already runs, not to start new projects with. The range stays moderate because a maintenance revival is possible.

GPT-6.2 Sol: 5.9, likely 4.8 to 7.0

Yup remains a reasonable choice for complex forms where its conditional rules and casting simplify the schema. Zod is the stronger general-purpose choice for new TypeScript projects given its more active maintenance and faster validation in the measured workload. Yup's established integrations support continued use, and the long release gap makes its longer-term outlook uncertain.

Needed by many7.7

How many developers need a tool for this job?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Most JavaScript and TypeScript apps need to validate data shapes, especially forms and API input. Yup works on any runtime and is not tied to a framework. Its focus on forms and casting makes it a little narrower than general-purpose validators.

GPT-6.2 Sol: 7.4, likely 6.4 to 8.4

Runtime validation is useful wherever JavaScript and TypeScript apps receive form data, API payloads, or configuration. Yup works in browser and server code, and its coercion and conditional rules are especially useful for forms. Surveys show how common these environments are, though they leave the share of projects that need Yup's particular features uncertain.

Helps a lot6.4

How well does it do the job for those who need it?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

Yup is solid for form validation, with async tests, conditional schemas, transforms and good error paths. Its v1 TypeScript types and the newer Standard Schema support keep it usable. Type inference is clearly weaker than Zod's or Valibot's. Independent guides rate Zod better for TypeScript-first and server-side use.

GPT-6.2 Sol: 7.2, likely 6.2 to 8.2

Yup 1.7.1 handles sibling-dependent rules, async checks, type inference, and localized field errors. A user reported a strict TypeScript regression when extending string schemas, and an independent benchmark found much lower throughput than Zod and Valibot on one form schema. The docs give coding agents current examples, although older `when()` examples can produce runtime errors. The performance impact depends on how often the application validates.

Holds up over time3.6

Will it still be a good choice in two years?

Claude Opus 5.5: 3.0, likely 2.0 to 4.5

The last commits and the v1.7.1 release date from September 2025. The bundle counts zero commits and zero versions in the past year, and the Scorecard Maintained check is 0. One maintainer releases it, and 106 pull requests are open. The ecosystem is moving toward Zod and Valibot. The repository is not archived, and it may still get occasional small releases.

  • github commitsLastYear: 0 commits in the last year
  • npm versionsLastYear: 0 versions; latest is 1.7.1 from Sept 2025
  • github.com/jquense/yup/commits/master: Last commits are from Sept 2025, mostly by jquense.
  • scorecard Maintained: Score 0
  • github openPullRequests: 106 open PRs

GPT-6.2 Sol: 4.1, likely 2.7 to 5.8

Yup published 1.7.1 in September 2025, and the public default branch history shows no commits in the past year. An open report about the missing 1.7.1 Git tag has been waiting since January, while Zod and Valibot have shipped updates in 2026. Standard Schema support helps existing schemas stay portable, and future maintenance capacity remains unclear.

Used widely6.1

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

About 65M downloads in 4 weeks and 162k dependent repositories show very wide existing use, more dependents than Zod in ecosyste.ms. The 1.9x yearly ratio is well below the 4.1x median, so its share of new projects is shrinking. Zod and Valibot are growing far faster.

  • npm downloadsLast4Weeks: 65.0M now vs 33.8M a year ago (1.9x)
  • medianDownloadsRatio: Median 4.1x, so Yup is losing ground
  • dependents.repos: 162,114 repos and 4,923 packages
  • peers Zod downloadsLast4Weeks: Zod has 1.8B downloads and grew 8.4x

GPT-6.2 Sol: 6.2, likely 5.1 to 7.3

Ecosyste.ms found about 162,000 dependent repositories and 4,900 dependent packages, indicating substantial established use. Downloads rose from 33.8 million to 65.0 million over the four-week periods, a 1.92× ratio against the catalog median of 4.1×. Zod and Valibot grew faster, and State of JavaScript respondents reported regular use of Zod almost four times as often as Yup. Automated installs and incomplete repository coverage make new adoption hard to quantify.

  • dependents repos and packages: Ecosyste.ms found 162,114 repositories and 4,923 packages.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth fell well below the catalog baseline.
  • github stars, bluesky posts, peers: Yup has 23,650 stars and little recent Bluesky attention compared with Zod and Valibot.
  • 2025.stateofjs.com/en-US/other-tools: Regular use was reported by 1,325 respondents for Yup and 5,241 for Zod.
Vouched for6.1

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Formik made it its default, and React Hook Form and VeeValidate support it, so it has years of production use. Current endorsements are weak. 2026 comparisons recommend Zod for new work and mention Yup mainly for legacy Formik stacks. It has almost no current buzz on Hacker News or Bluesky.

GPT-6.2 Sol: 7.1, likely 6.0 to 8.1

Strapi builds its core validation utilities on Yup, and Formik and React Hook Form have dedicated integrations. One React Hook Form user reported keeping their Yup schemas when migrating from Formik. These examples support Yup's value in established projects, while current survey evidence on overall satisfaction and retention is limited.

Safe6.1

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

Yup has no advisories ever, four small runtime dependencies and an MIT licence. The Scorecard is low at 3.1: branch protection, a security policy, token permissions and pinned dependencies all score 0. One person publishes releases, and the project is now inactive, so a future issue might be fixed slowly.

  • advisories.total: 0 advisories
  • npm dependencies: 4 dependencies
  • scorecard score: 3.1, with several checks at 0
  • npm license: MIT

GPT-6.2 Sol: 5.7, likely 4.4 to 7.0

Yup has an MIT license, four direct dependencies, and no published advisories for the package. Its OpenSSF Scorecard is 3.1, with zero scores for branch protection, workflow token permissions, and pinned dependencies. The npm listing shows one collaborator, and GitHub lists no security policy. The advisory history gives little evidence about how quickly a future security fix would ship.

  • npm license and dependencies: MIT-licensed package with four direct dependencies.
  • advisories total and last24Months: The collector found zero OSV advisories for Yup.
  • scorecard score and checks: Weak repository and workflow controls. Packaging and signed releases were unscored.
  • npmjs.com/package/yup: The package listing shows one collaborator.
  • github.com/jquense/yup/security: GitHub lists no project security policy or published advisories.

Good

  • Its fluent API handles form validation well, with per-field async tests, conditional rules through when(), and casting and transforms.
  • Formik, React Hook Form resolvers, VeeValidate and most form tools support it, and so do Standard Schema consumers since v1.7.
  • It has no known advisories, a small set of four runtime dependencies and an MIT licence.
  • Years of tutorials and wide existing use mean AI agents and developers write correct Yup code easily.

Bad

  • There have been no commits or npm releases since September 2025, and 106 pull requests are open.
  • TypeScript inference through InferType is weaker and less precise than in Zod, Valibot or ArkType.
  • One maintainer does nearly all the work and publishes the releases, and the project has no visible funding.
  • Downloads grew 1.9x in a year against a median of 4.1x, so it is losing share to its peers.

The numbers

npm downloads, 4 weeks
65M +92% in a year
GitHub stars
24k
Commits, 12 months
0
npm version
1.7.1 Sept 2025
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.1 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (jquense/yup), npm (yup), OSV and the OpenSSF Scorecard.

Validation libraries

  1. 9.0Zod
  2. 7.9Valibot
  3. 7.5TypeBox
  4. 7.2ArkType
  5. 7.1Ajv
  6. 6.2Joi
  7. 5.6class-validator
  8. 5.2Yup
  9. 3.9Superstruct
  10. 3.8io-ts
Compare all 10 on six scores