Our great sponsors
|5 months ago||6 days ago|
|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.
Notes on Advanced TypeScript: Runtime Validations
2 projects | dev.to | 4 May 2022
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.
Preferred form library with Next.js?
4 projects | /r/nextjs | 26 Nov 2021
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
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