Skip to content
Avatar

Sponsors

@dvargas92495 @illarionvk @jeroenvisser101 @johnrjj @sabberworm @aboodman @euxn23 @colelawrence @codediodeio @Averylamp
@kennethshawfriedman @sayav

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. zod Public

    TypeScript-first schema validation with static type inference

    TypeScript 6.8k 262

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

    TypeScript 4.4k 121

466 contributions in the last year

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

Contribution activity

March 2022

Created 2 repositories

Created a pull request in edgedb/edgedb-js that received 1 comment

Reviewed 7 pull requests in 4 repositories

Created an issue in edgedb/edgedb that received 2 comments

Incorrect cardinality inference on update

A cardinality inference bug in update queries. Using the query builder schema the following query has inferred cardinality Many: WITH __scope_0_Her…

2 comments
Opened 9 other issues in 5 repositories

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