@kelsny/synth
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@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.

Package Sidebar

Install

npm i @kelsny/synth

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

481 kB

Total Files

193

Last publish

Collaborators

  • kelsny