๐ง 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.