Skip to content
Avatar

Sponsors

@dvargas92495 @kennethshawfriedman @antimatter15 @sayav
@lilred @sean-ocallahan @gzuidhof @illarionvk @lo1tuma @bravely @alii @thomasboyt

Sponsoring

@blitz-js

Achievements

GitHub Sponsor

Achievements

GitHub Sponsor

Highlights

  • 6 discussions answered
Block or Report

Block or report colinhacks

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
colinhacks/README.md

I'm an engineer, open-sourcer, digital nomad, and ride-or-die TypeScripter.

I got into open-source while trying to start a medical record software company as a solo developer. Sadly, the business side never took off, but the technical challenges I encountered have kept me busy for years now :) Managing the complexity of an app with over 200 highly-connected tables made the limitations of current API design and state management tools exceedingly clear.

My open-source projects are tools I built to manage all this complexity, but they're broadly useful to anyone who wants to build APIs in a type-safe, reliable way.

I built and currently maintain Zod — a TypeScript schema validation library with advanced type inference. It lets you define data structures (tuples, arrays, and objects), compose them with logical operators (unions, intersections), and generate variants (pick, omit, etc). Check out the launch blog post at https://colinhacks.com/essays/zod.

I'm currently working full time on Zod 2, which I think will be the most humane and flexible multi-functional data modeling/transformation/casting library in the TypeScript ecosystem. I plan to use Zod as a foundation to build better tools for API design and state management, starting with an end-to-end typesafe RPC framework that validates all inputs and outputs at runtime, lets you implement statically-typed resolvers, and can auto-generate a client SDK — no configuration necessary.

Sponsorship at any level is massively, life-alteringly, world-shatteringly appreciated! 🙏

Pinned

  1. TypeScript-first schema validation with static type inference

    TypeScript 3.6k 149

  2. A developer blog starter for 2021 (Next.js + React + TypeScript + Markdown + syntax highlighting)

    TypeScript 353 49

  3. 🧙‍♀️ End-to-end typesafe APIs made easy

    TypeScript 1.1k 22

179 contributions in the last year

Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Mon Wed Fri

Contribution activity

July 2021

Created 6 commits in 1 repository
Created 1 repository

Created a pull request in moltar/typescript-runtime-type-benchmarks that received 2 comments

Rebuild snapshot

Zod hasn't been upgrading to the latest version because the snapshot is still based on the error reporting system from v1.

+36 −17 2 comments
Answered 1 discussion in 1 repository

Seeing something unexpected? Take a look at the GitHub profile guide.