{
 "kind": "tool",
 "slug": "yup",
 "path": "tools/yup/",
 "name": "Yup",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Forms, validation and schemas",
   "tools/forms-validation/"
  ]
 ],
 "lead": "Simple schema validation library for JavaScript with chainable API and error handling.",
 "chips": [
  {
   "label": "Forms, validation and schemas",
   "path": "tools/forms-validation/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install yup"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/jquense/yup"
  },
  {
   "label": "Website",
   "href": "https://github.com/jquense/yup"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/jquense/yup"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 22, 2026",
   "note": "Latest GitHub release Feb 8, 2023. ",
   "src": "https://github.com/jquense/yup"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "17 projects",
   "status": "info",
   "sub": "#17 of 63 in its category",
   "note": "Dependency in 17 public GitHub projects set up for AI coding agents that we scanned (0.3%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Yup does",
   "parts": [
    {
     "t": "prose",
     "text": "Simple schema validation library for JavaScript with chainable API and error handling."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Yup popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "69",
       "of": "/ 100",
       "l": "Gid Score, #457 overall"
      },
      {
       "n": "16.6M",
       "l": "downloads a week, npm"
      },
      {
       "n": "23.6K",
       "l": "GitHub stars"
      },
      {
       "n": "17",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Yup is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "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%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "10 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "9 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "7 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 87.5% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 54.7% of its projects",
       "v": "Axios",
       "path": "tools/axios/"
      },
      {
       "l": "In 46.9% of its projects",
       "v": "Formik",
       "path": "tools/formik/"
      },
      {
       "l": "In 79.7% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      },
      {
       "l": "In 42.2% of its projects",
       "v": "React Router",
       "path": "tools/react-router-dom/"
      },
      {
       "l": "In 42.2% of its projects",
       "v": "React Hook Form",
       "path": "tools/react-hook-form/"
      },
      {
       "l": "In 40.6% of its projects",
       "v": "React Hook Form Resolvers",
       "path": "tools/hookform/"
      },
      {
       "l": "In 37.5% of its projects",
       "v": "Framer Motion",
       "path": "tools/framer-motion/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Yup",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Forms, validation and schemas",
       "path": "tools/forms-validation/",
       "items": [
        {
         "text": "React Hook Form",
         "path": "tools/react-hook-form/"
        },
        {
         "text": "Pydantic",
         "path": "tools/pydantic/"
        },
        {
         "text": "React Hook Form Resolvers",
         "path": "tools/hookform/"
        },
        {
         "text": "Ajv",
         "path": "tools/ajv/"
        },
        {
         "text": "jsonschema",
         "path": "tools/jsonschema/"
        },
        {
         "text": "ajv-formats",
         "path": "tools/ajv-formats/"
        },
        {
         "text": "zod-to-json-schema",
         "path": "tools/zod-to-json-schema/"
        },
        {
         "text": "Protocol Buffers",
         "path": "tools/protobuf/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Yup",
       "me": true,
       "facts": [
        "MIT",
        "Gid 69",
        "16.6M/wk"
       ]
      },
      {
       "name": "Zod",
       "why": "TypeScript-first schema validation library with static type inference.",
       "path": "tools/zod/",
       "facts": [
        "MIT",
        "Gid 89",
        "471M/wk"
       ]
      },
      {
       "name": "Valibot",
       "why": "Modular and type-safe schema validation library for structural data with minimal bundle size.",
       "path": "tools/valibot/",
       "facts": [
        "MIT",
        "Gid 68",
        "36M/wk"
       ]
      },
      {
       "name": "TypeBox",
       "why": "JSON Schema type builder with static type resolution for TypeScript validation.",
       "path": "tools/sinclair-typebox/",
       "facts": [
        "MIT",
        "Gid 58",
        "17M/wk"
       ]
      }
     ],
     "more": "Compare Yup with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install yup"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Yup yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm yup"
  ],
  [
   "Category",
   "Forms, validation and schemas"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "68.7"
  ],
  [
   "Rank in category",
   "#17 of 63"
  ],
  [
   "GitHub",
   "jquense/yup"
  ],
  [
   "Last change",
   "Nov 22, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/jquense.png"
}