Skip to content

k-tten/synth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2ed82f7 Β· Sep 8, 2022

History

77 Commits
Jun 9, 2022
Jun 10, 2022
Jun 15, 2022
Jun 12, 2022
Jun 11, 2022
Jun 10, 2022
Jun 19, 2022
Jun 13, 2022
Sep 8, 2022
Jun 9, 2022
Jun 9, 2022
Jun 13, 2022
Jun 9, 2022
Jun 13, 2022
Jun 9, 2022
Jun 15, 2022
Jun 19, 2022
Jun 19, 2022
Jun 19, 2022
Sep 3, 2022
Jun 19, 2022

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