{"library":"value-schema","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","param","params","parameter","parameters","validate","validator","ajust","adjuster","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install value-schema","imports":["import vs from 'value-schema'","import { Schema } from 'value-schema'","import { VsNumber, VsString } from 'value-schema'"]},{"cmd":"yarn add value-schema","imports":[]},{"cmd":"pnpm add value-schema","imports":[]}],"homepage":"https://github.com/shimataro/value-schema#readme","github":"https://github.com/shimataro/value-schema","docs":null,"changelog":null,"pypi":null,"npm":"value-schema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}