Gathering detailed insights and metrics for @n8n/json-schema-to-zod
Gathering detailed insights and metrics for @n8n/json-schema-to-zod
Gathering detailed insights and metrics for @n8n/json-schema-to-zod
Gathering detailed insights and metrics for @n8n/json-schema-to-zod
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
npm install @n8n/json-schema-to-zod
Typescript
Module System
Node Version
NPM Version
99.1
Supply Chain
80
Quality
83.1
Maintenance
100
Vulnerability
86.4
License
TypeScript (90.29%)
Vue (7.87%)
SCSS (1.11%)
JavaScript (0.37%)
Handlebars (0.18%)
HTML (0.13%)
Dockerfile (0.02%)
HCL (0.02%)
Shell (0.01%)
Total Downloads
500,219
Last Day
4,114
Last Week
44,115
Last Month
152,625
Last Year
500,219
NOASSERTION License
107,652 Stars
14,282 Commits
30,685 Forks
667 Watchers
1,475 Branches
486 Contributors
Updated on Jun 15, 2025
Minified
Minified + Gzipped
Latest Version
1.1.0
Package Id
@n8n/json-schema-to-zod@1.1.0
Unpacked Size
69.21 kB
Size
14.40 kB
File Count
84
NPM Version
10.8.2
Node Version
20.18.0
Published on
Oct 24, 2024
Cumulative downloads
Total Downloads
Last Day
3.3%
4,114
Compared to previous day
Last Week
18.2%
44,115
Compared to previous week
Last Month
16.6%
152,625
Compared to previous month
Last Year
0%
500,219
Compared to previous year
1
2
A package to convert JSON schema (draft 4+) objects into Zod schemas in the form of Zod objects at runtime.
1npm install @n8n/json-schema-to-zod
1import { jsonSchemaToZod } from "json-schema-to-zod"; 2 3const jsonSchema = { 4 type: "object", 5 properties: { 6 hello: { 7 type: "string", 8 }, 9 }, 10}; 11 12const zodSchema = jsonSchemaToZod(myObject);
You can pass a function to the overrideParser
option, which represents a function that receives the current schema node and the reference object, and should return a zod object when it wants to replace a default output. If the default output should be used for the node just return undefined.
This is a fork of json-schema-to-zod
.
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
30 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
packaging workflow detected
Details
Reason
Found 29/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 7
Details
Reason
6 existing vulnerabilities detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-09
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