leerob.io
zod
Our great sponsors
leerob.io | zod | |
---|---|---|
59 | 288 | |
6,871 | 30,347 | |
- | - | |
8.7 | 9.1 | |
15 days ago | 1 day ago | |
MDX | TypeScript | |
GNU General Public License v3.0 or later | 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.
leerob.io
-
Upgrade my blog to Next.js 13.4 with MDX, Prisma, Tailwindcss, Planetscale, Giscus and Contentlayer
Shen Lu's portfolio, inspired by leerob.io.
-
Next.js 13.4.8
This might be due to implementation. The same pattern on my site (without the entry/exit animation) is working as expected. http://leerob.io/
-
Looking for Minimal portfolio website template
Something like https://leerob.io/
-
Torn over personal minimalist aesthetics vs modern web design
Hey OP, I think Lee Robinson's Portfolio would be great middle ground between these. Check it out https://leerob.io/
- Could you please suggest some Next.js project source codes, preferably v12 or fewer, that I can use to learn from?
- WebDev: Ce ar trebui sa incep sa invat: Next.JS 12 vs Next.JS 13
-
I just redesigned two of my websites inspired by Lee Rob
So, while looking for websites to get inspired on, I found Lee Rob's website and I was amazed by how minimal and beautiful it is!
-
My portfolio built with Next.js, TypeScript, Firebase, and Vercel ✨
You've forked the site from leerob.io, no wonder it seemed to familiar lol
-
I made a full-stack portfolio site using Next.js and Tailwind!
The initial idea I had in my mind was a very minimal site with a minimal navbar that would look more like a sidebar, and the design would be somewhat inspired by leerob’s site. Apart from this, I also wanted my site to display some cool dynamic and real-time data like my Spotify data, my blog posts fetched from dev.to and a guestbook where people could leave messages for me!
-
Flutter Portfolio Suggestions
Here's mine, though still very unstable especially on mobile, design inspired by Leerob.
zod
-
From Flaky to Flawless: Angular API Response Management with Zod
Zod is an open-source schema declaration and validation library that emphasizes TypeScript. It can refer to any data type, from simple to complex. Zod eliminates duplicative type declarations by inferring static TypeScript types and allows easy composition of complex data structures from simpler ones. It has no dependencies, is compatible with Node.js and modern browsers, and has a concise, chainable interface. Zod is lightweight (8kb when zipped), immutable, with methods returning new instances. It encourages parsing over validation and is not limited to TypeScript but works well with JavaScript as well.
- TypeScript Essentials: Distinguishing Types with Branding
-
You can’t run away from runtime errors using TypeScript
Zod is a TypeScript-first schema declaration and validation library. It helps create schemas for any data type and is very developer-friendly. Zod has the functional approach of "parse, don't validate." It supports coercion in all primitive types.
-
Best Next.js Libraries and Tools in 2024
Link: https://zod.dev/
-
Popular Libraries For Building Type-safe Web Application APIs
You can check out their documentation here.
-
Epic Next JS 14 Tutorial Part 4: How To Handle Login And Authentication in Next.js
You can learn more about Zod on their website here.
-
What even is a JSON number?
In JS, it's a good idea anyway to use some JSON parsing library instead of JSON.parse.
With Zod, you can use z.bigint() parser. If you take the "parse any JSON" snippet https://zod.dev/?id=json-type and change z.number() to z.bigint(), it should do what you are looking for.
-
Error handling in our form component for the NextAuth CredentialsProvider
We will validate our input using client-side zod. Zod handles TypeScript-first schema validation with static type inference. This means that it will not only validate your fields, it will also set types on validated fields.
-
Zod: Zero to Hero - Chapter 4
A word of warning: while discriminated unions are very powerful, there's an ongoing discussion on whether discriminated unions should be deprecated and replaced with a different API.
-
Zod: Zero to Hero - Chapter 1
I was first introduced to Zod by Adam Bobrow - a colleague of mine and a dear friend. Adam was sick and tired from JavaScript's brittleness, and about two years ago he started migrating our code base to TypeScript. But that wasn't enough for him. He kept complaining: "What good are my types, if some other service decides to send me bad data and breaks my code?". That's when he discovered Zod.
What are some alternatives?
nextjs-notion-starter-kit - Deploy your own Notion-powered website in minutes with Next.js and Vercel.
class-validator - Decorator-based property validation for classes.
HULL - 💀 Headless Shopify Starter – powered by Next.js + Sanity.io
joi - The most powerful data validation library for JS [Moved to: https://github.com/sideway/joi]
react-syntax-highlighter - syntax highlighting component for react with prismjs or highlightjs ast using inline styles
Yup - Dead simple Object schema validation
next-themes - Perfect Next.js dark mode in 2 lines of code. Support System preference and any other theme with no flashing
typebox - Json Schema Type Builder with Static Type Resolution for TypeScript
fontsource - Self-host Open Source fonts in neatly bundled NPM packages.
ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
tailwind-nextjs-starter-blog - This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
io-ts - Runtime type system for IO decoding/encoding