io-ts-promise
resolvers
Our great sponsors
io-ts-promise | resolvers | |
---|---|---|
1 | 4 | |
74 | 1,104 | |
- | 4.4% | |
0.0 | 8.6 | |
5 months ago | 6 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.
io-ts-promise
-
Notes on Advanced TypeScript: Runtime Validations
There are more improvements we could make, but we should have a basic understanding of why it might be useful to validate any external data at runtime. io-ts offers more features handling recursive and optional types. Furthermore there are libraries like io-ts-promise that provide more features and useful helpers, the above decodePromise, for example, is available in a more advanced variant via io-ts-promise.
resolvers
-
Preferred form library with Next.js?
For the front-end, I like react-hook-form, and it supports both zod, joi, yup and more via official package: https://github.com/react-hook-form/resolvers
What are some alternatives?
react-formik-components - React reusable and customizable input components based on formik library
react-hook-form - 📋 React Hooks for form state management and validation (Web + React Native)
zodios - typescript http client and server with zod validation
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
next-joi - Validate NEXT.js API Routes with joi
zod-express-middleware - Express middleware to validate requests using zod schema's.
zod-to-json-schema - Converts Zod schemas to Json schemas
zod - TypeScript-first schema validation with static type inference
serialport - Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
yup-schema-faker - Fake data generator for yup
tiny-sass-compiler - Another sass compiler write from scatch,runnable on both node and browser
io-ts - Runtime type system for IO decoding/encoding