The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 5 TypeScript validation-library Projects
-
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.
-
Superforms
Superforms is a SvelteKit library that helps you with server-side validation and client-side display of forms.
-
typescript-runtime-type-benchmarks
📊 Benchmark Comparison of Packages with Runtime Validation and TypeScript Support
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Project mention: Displaying multiple error messages on incorrect form entries with Vee-validate | Vue | dev.to | 2024-04-25In this blog post I am exploring the client-side form validation with Vee-validate (https://vee-validate.logaretm.com/v4/) and vee-validate/rules (https://www.npmjs.com/package/@vee-validate/rules).
Project mention: Vest: Declarative validations framework inspired by unit testing libraries | news.ycombinator.com | 2023-11-30
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).
Has been heavily optimized, both in terms of its types and runtime performance. Even including the static parser, many types are about an order of magnitude more efficient than equivalent Zod. Early results show it as marginally faster than any validator currently published to typescript-runtime-type-benchmarks, not including more complex cases where (2) would give ArkType a much more significant advantage.
Do you see a problem here? I've got to manually create every method and validate their arguments. Oh man! This args validation became so tiresome that I ended up creating another small validation library called handy-types (what's wrong with me 🤦♂️?!).
TypeScript validation-library related posts
- Vest: Declarative validations framework inspired by unit testing libraries
- Which form package compatible with Vue 3 has the best developer experience?
- [Help] JavaScript DOM Simple Form Validation
- How to validate a input field in vue
- Validation library
- What is a good STABLE for validation library for nuxt 3 ?
- Are you building custom input components or build them from scratch in every project?
-
A note from our sponsor - WorkOS
workos.com | 27 Apr 2024
Index
What are some of the best open-source validation-library projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | vee-validate | 10,526 |
2 | Vest | 2,481 |
3 | Superforms | 1,865 |
4 | typescript-runtime-type-benchmarks | 557 |
5 | handy-types | 3 |
Sponsored