Where DRY Applies

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • zod

    TypeScript-first schema validation with static type inference

    Author here: This specific example is a perfect case of the thing the post calls out! API boundaries are one of the most important places where we need to maintain invariants about our code base, one of the most important places that it is important not to have to worry about “keeping things in sync” as you say.

    In the TypeScript world, there are a number of libraries that can handle creating types from deserialization logic: Zod [1], Superstruct [2], Typebox [3], etc. – and Typebox specifically does what you are looking to do with MyPy. I do not know the Python ecosystem at all anymore (it has been a decade!) but I would be surprised if nothing like that exists. If it does, there is a good chance it is associated with the functional programming enthusiast corner of the Python community, so you might look there!

    [1]: https://github.com/colinhacks/zod

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • Superstruct

    A simple and composable way to validate data in JavaScript (and TypeScript).

  • typebox

    Json Schema Type Builder with Static Type Resolution for TypeScript

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • TypeScript-JSON is 10 ~ 1,000x times faster than ZOD and IO-TS

    4 projects | dev.to | 8 Oct 2022
  • Popular Libraries For Building Type-safe Web Application APIs

    6 projects | dev.to | 7 Apr 2024
  • Unleashing the Power of TypeScript: Improving Standard Library Types

    3 projects | dev.to | 14 Aug 2023
  • Has anybody used Typia library?

    3 projects | /r/typescript | 27 Jun 2023
  • How can we map data from JSON to typescript object efficiently?

    4 projects | /r/reactjs | 30 Apr 2023