Top 3 TypeScript typebox Projects
-
Superforms
Superforms is a SvelteKit library that helps you with server-side validation and client-side display of forms.
-
resolvers
📋 Validation resolvers: Yup, Zod, AJV, Joi, Superstruct, Vest, class-validator, io-ts, typanion, Ajv, TypeBox, Valibot and nope.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
This next step is probably the easiest. Since you're also sending the select platform template, you can reference that to determine if the data is valid (why not try superforms? I made an adapter for it).
Project mention: React-Hook-Form / YupResolver - Vercel build fails but local build is ok | /r/nextjs | 2023-09-20For anyone that reaches this post trying to obtain an answer, I found this issue in the react-hook-form repository. Specifically the comment that Mihai-github made.
Since the OpenAPI specification is language-agnostic, we can use the output to validate data in both our frontend and backend. This approach makes total sense since we can provide uniform validation rules on both sides of our stack. There are a few libraries out there that can help us with this task, such as typed-openapi or openapi-zod-client, which can take an OpenAPI definition as an input and transform it to zod schema definitons.
Index
What are some of the best open-source typebox projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | Superforms | 1,865 |
2 | resolvers | 1,591 |
3 | typed-openapi | 141 |
Sponsored