Valibot Code Generation #57
sinclairzx81
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Wow! Feel free to add the project to our ecosystem page. There have been multiple requests for JSON to Valibot conversion (and Valibot to JSON as well). Feel free to keep it updated. Thank you! I think Valibot has the chance to become a bigger project in the coming years. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Code generation updated for Valibot 0.13.1. Can test via https://sinclairzx81.github.io/typebox-workbench/ Added:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, TypeBox developer here. I came across Valibot the other day, and the library design looks great! (also I like the robot mascot)
Just posting as I've started writing some tooling that converts TypeScript type definitions into Valibot types (as well as a several other ecosystem libraries) and thought I'd share in case it's of some use to the Valibot project. The tooling was originally written for TypeBox to help get its types lined up to TypeScript, but have since extended support for other libraries (as it's quite helpful to see TS types and library types side-by-side), especially when trying replicate various parts of the type system.
These tools are two part, a code editor website and a code generation library, you can find both at the links below.
Website
https://sinclairzx81.github.io/typebox-workbench/
Code Generation
https://github.com/sinclairzx81/typebox-codegen
If these are of some use, and you'd like me to keep Valibot codegen current with new types / features, feel free to ping me on either of these projects (ideally the workbench as prototyping usually happens there first before being moved to the codegen for npm publishing). I'll be trying to keep these libraries as current and accurate as I can (mostly as a side project, and more so if the tools are found to be useful to the ecosystem), however a ping can help get newer library functionality up and integrated quicker. PR's are also welcome.
Again, Good work on Valibot!
Cheers
S
Beta Was this translation helpful? Give feedback.
All reactions