π§ This project is still under construction. There might be bugs or unexpected behavior I have not thoroughly tested and prevented. Please submit these so I can fix them :D
β‘οΈ A tool for synthesizing types into runtime validators.
Give it a schema, and it gives you a validator that you can use however you'd like.
For example, it can do all of the following quite nicely:
- β Generate type guards
- β Manipulate tree-like data
- β Handle overloading like Java and C++
- β Fluent matching of values like Rust
Like the sound of it already? Go ahead and add it now:
npm install @kelsny/synth
Please note that it cannot do the following (yet):
- β Make you a sandwich
- β Read you a bedtime story
- β Fix your relationships
- β Solve our global crisis
Some quick links that you might find helpful:
- π Home page
- π Getting started
- π Reference
- π For contributors
- π VSCode extension
Feelin' synthwavy after using this? Give my Nebula theme for VSCode a spin.