this post was submitted on 14 Jan 2024
8 points (100.0% liked)

TypeScript

820 readers
1 users here now

founded 1 year ago
MODERATORS
 

Typia is a transformer library supporting:

  • Super-fast Runtime Validators
  • Enhanced JSON functions
  • Protocol Buffer encoder and decoder
  • Random data generator
you are viewing a single comment's thread
view the rest of the comments
[โ€“] not_woody_shaw@lemmy.world 1 points 9 months ago (1 children)

Oh, you just add it as a separate task in package.json? That seems nicer than converting all your type defs manually to io.ts format or similar.

[โ€“] lorefnon@programming.dev 1 points 8 months ago

Yes, that mode works pretty well. In my case I don't really own the types (they come from a third party source) so being able to to auto generate validators from them is very convenient.