value-schema
JSON →value-schema is a declarative input validator for Node.js, TypeScript, Deno, and Bun. Version 4.0.0 (stable) provides schema-based validation with automatic type coercion, default values, trimming, and checksum support (e.g., Luhn). It simplifies the common web app pattern of existence check, type check, and domain check into a single, readable schema definition. Unlike JSON Schema or Joi, it offers built-in email, date, IPv4/IPv6, and credit card validators with compact syntax. It ships TypeScript types and supports ESM and CJS.
Resources
packagevalue-schema ↗