schemawax
decoders
schemawax | decoders | |
---|---|---|
3 | 4 | |
55 | 355 | |
- | - | |
0.0 | 8.7 | |
over 1 year ago | 4 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
schemawax
-
Elm-inspired TypeScript decoding library now supports recursive decoders!
GitHub: https://github.com/michaljanocko/schemawax
-
Ī» "Functions all the way down" data validation for JavaScript and TypeScript
Hi, I created something very similar a while ago as well! https://github.com/michaljanocko/schemawax However, I resorted to being able to infer types. It's nice to see validation colleagues in the wild!
-
Tiny Elm-like decoders for TypeScript have just been released!
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!
decoders
-
Typescript and 3rd party api. It never works
Iāve used Decoders in the past to add type safety to API responses: https://decoders.cc
-
Drag and Drop Kanban Board with React TypeScript
Decoders is my go-to data validation library for JavaScript and NodeJS. It's lightweight , has good TypeScript support and is extendable. The parsed item is validated by this library.
-
Elm-inspired TypeScript decoding library now supports recursive decoders!
Looks very similar to https://github.com/nvie/decoders, which I've been using lately and says to be inspired of Elm too. I'll take a more in depth look at your implementation, but looks like a great work!
-
Confident JS series: Part 1 ā Encoding and Decoding payloads for saner applications
https://github.com/nvie/decoders seems very similar to https://github.com/colinhacks/zod, though I prefer zod as it has better support for type inference, error handling, and validation (e.g. min/max, regex, etc.) IMO.
What are some alternatives?
crystal - š® Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
zod - TypeScript-first schema validation with static type inference
intl-tel-input - A JavaScript plugin for entering and validating international telephone numbers
ts-matches - Being able to pattern match in typescript
node-validator - String validation [Moved to: https://github.com/validatorjs/validator.js]
ok-computer - Ī» "Functions all the way down" data validation for JavaScript and TypeScript.
vivid_vector_alphabet - Beautiful Hand Drawn Letters ā A meticulous merger of form and function. Typography Animation Microinteraction -Star it!
toy-json-parser - Tiny toy JSON(like) parser, written in Typescript
prettier - Prettier is an opinionated code formatter.