The Last Breaking Change | JSON Schema Blog

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

Civic Auth - Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. awesome-jsonschema

    A curated list of awesome JSON Schema resources, tutorials, tools, and more

    Truth. Zod is comparable to JSON Schema plus AJV, and it doesn't compare well at all. Your Zod code is all locked inside TypeScript so not only can it not be shared to any other language in your stack but it also cannot be serialized, which introduces many limitations. You also miss out on all the JSON Schema ecosystem tooling. (1, 2) For example the intellisense you get in VS Code for config files is powered by JSON Schema and schemastore.

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. typebox

    Json Schema Type Builder with Static Type Resolution for TypeScript

    For these reasons I continue to recommend typebox over Zod. I honestly have yet to be given one compelling reason to use Zod over typebox. You'd have to argue against all of those JSON Schema upsides, which immediately undermines the argument. This whole "debate" comes off as "if all you have is a hammer, everything looks like a nail." People just don't know about JSON Schema, its many upsides, its ecosystem, and its tooling.

  4. zod

    TypeScript-first schema validation with static type inference

    Additionally Zod is also undergoing breaking changes, as any library would. (Example) As a comparison, it seems moot.

  5. deno

    A modern runtime for JavaScript and TypeScript.

    Oh, and if you're looking for even better security, you should give "Deno" a try. It's another JavaScript runtime that runs programs faster and has an easy way to handle permissions. Plus, it's more secure than Node.js. Here's the link: https://deno.land

  6. bun

    Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

    Also, have you heard of this new JavaScript runtime called "Bun"? Apparently it runs programs even faster than Node.js and automatically installs packages for you. Sounds pretty sweet, right? Here's the link if you want to check it out: https://bun.sh

  7. decimal.js

    An arbitrary-precision Decimal type for JavaScript

    For your particular example though, if we keep in mind that the input data to be validated is JSON-serializable, only a string could possibly accommodate the precision expected of a decimal from among the JSON-serializable JS primitives. You could use one or more regex patterns to describe the allowable permutations. The resultant schema would be cross-platform since it doesn't use custom keywords - nice! You can also use unions if you want to say that integers, NaN, and Infinity are also allowed per the docs there.

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

  • Deno in 2024

    1 project | news.ycombinator.com | 21 Jan 2025
  • Fresh Web Framework by Deno

    1 project | news.ycombinator.com | 9 Jan 2025
  • 🔥10 Useful Developer Tools That Will Make Development Easier in 2025

    1 project | dev.to | 29 Dec 2024
  • Add JWT Authentication in Deno & Oak server using Kinde Authentication

    1 project | dev.to | 28 Dec 2024
  • How to migrate your Node.js app to Deno 2.0

    2 projects | dev.to | 24 Dec 2024

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?