Gathering detailed insights and metrics for @zeit/schemas
Gathering detailed insights and metrics for @zeit/schemas
Gathering detailed insights and metrics for @zeit/schemas
Gathering detailed insights and metrics for @zeit/schemas
All schemas used for validation that are shared between our projects
npm install @zeit/schemas
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
86 Stars
149 Commits
27 Forks
59 Watchers
11 Branches
97 Contributors
Updated on Jun 19, 2025
Latest Version
2.38.0
Package Id
@zeit/schemas@2.38.0
Unpacked Size
34.96 kB
Size
7.53 kB
File Count
15
NPM Version
10.8.2
Node Version
18.20.5
Published on
Jan 10, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
5
Schemas used across many Vercel packages to validating config files, requests to APIs, and more.
.js
instead of .json
because parsing JSON takes longerTo get started, pick one of the schemas in this repository and load it:
1const schema = require('@zeit/schemas/deployment/config');
Next, set up AJV (the validator) and run the schema through it:
1const AJV = require('ajv'); 2 3const ajv = new AJV({ allErrors: true }); 4const isValid = ajv.validate(schema, <object-to-validate>); 5 6if (!isValid) { 7 console.error(`The following entries are wrong: ${JSON.stringify(ajv.errors)}`); 8}
That is all! :tada:
We are currently not accepting external contributions for this repository.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
security policy file detected
Details
Reason
Found 14/29 approved changesets -- score normalized to 4
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
24 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More