Skip to content
JS
Package

schema-to-yup

Build a Yup schema object to validate models from a domain model schema (JSON or GraphQL)

v1.12.18, 8 Dec 2023MITCommonJSTypes: BundledSchema validationGraphQL
$ npm install schema-to-yup

Key numbers

As of 25 Sept 2026
Weekly downloads
23.5k
-27% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
2 years ago
v1.12.18
GitHub stars
288
51 forks
Open issues / PRs
13 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 48.7k (25 Aug 2026)Low 21.6k (2 Jun 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

23,472 downloads last week, 132,764 in the last month. The 12-month change of -27% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.12.18, 8 Dec 20232 years ago
First published
-
Last push to GitHub
19 Nov 2024675 days before the snapshot
Repository archived
No
Open issues
13
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
16

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
370 kB
Dependencies (4)
yupuniqdashifyuppercamelcase
npm install schema-to-yup
  • jsDelivrhttps://cdn.jsdelivr.net/npm/schema-to-yup@1.12.18/
  • unpkghttps://unpkg.com/schema-to-yup@1.12.18/
  • esm.shhttps://esm.sh/schema-to-yup@1.12.18
PackageWeekly downloadsGzipLast releaseModuleComparison
@pothos/plugin-zod28.5k-11 days agoESM + CommonJS-
@lssm-tech/lib.schema8.3k-5 days agoESM only-
@octokit/graphql-schema232.6k-9 months agoESM only-
graphql-constraint-directive38.7k-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.