decoders
schemawax
decoders | schemawax | |
---|---|---|
4 | 3 | |
355 | 55 | |
- | - | |
8.7 | 0.0 | |
10 days ago | over 1 year 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.
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.
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!
What are some alternatives?
zod - TypeScript-first schema validation with static type inference
crystal - š® Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!
intl-tel-input - A JavaScript plugin for entering and validating international telephone numbers
node-validator - String validation [Moved to: https://github.com/validatorjs/validator.js]
ts-matches - Being able to pattern match in typescript
vivid_vector_alphabet - Beautiful Hand Drawn Letters ā A meticulous merger of form and function. Typography Animation Microinteraction -Star it!
ok-computer - Ī» "Functions all the way down" data validation for JavaScript and TypeScript.
prettier - Prettier is an opinionated code formatter.
toy-json-parser - Tiny toy JSON(like) parser, written in Typescript
clean-code-javascript - :bathtub: Clean Code concepts adapted for JavaScript
TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!