Tiny Elm-like decoders for TypeScript have just been released!

This page summarizes the projects mentioned and recommended in the original post on /r/elm

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • schemawax

    🧬 Tiny typed data decoder—get to the DNA of your data

  • We all know it when you have to do something in TypeScript and cannot safely decode any JSON. That's why my friend and I created an npm library called schemawax. It gives you Elm-like decoders that fit nicely into TypeScript. Its output is fully typed and it is just 1.5 kB min+gzip!

  • zod

    TypeScript-first schema validation with static type inference

  • Are you familiar with Zod? This is the decoder the I use on my projects. Any thoughts on this package?

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • ts-matches

    Being able to pattern match in typescript

  • The readme is nicer than my version of decoders/ parsers. I also added in matching since that is the one thing I miss the most when I go back to typescript. https://github.com/blu-j/ts-matches.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts