[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

k-tten/synth

Repository files navigation

@kelsny/synth

🚧 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:

Feelin' synthwavy after using this? Give my Nebula theme for VSCode a spin.

About

Synthesize your types into real validators at runtime.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published