helper library to coerce values
Map and Set with automatic key interning
The semantic version parser used by npm.
A lightweight, schema-first validation library for Scalar
[](https://dl.circleci.com/status-badge/redirect/gh/taneliang/coerce-llm-output/tree/main) [ and [Zod](https://github.com/colinhacks/zod) when designing this library. This l
The semantic version parser used by npm for browser.
A simple javascript package for type checking an object
String validation and sanitization
v6 of the "semver" package, with security fixes backported from v7.
Tiny, standards-aligned schema validation
Runtime type-checking for JavaScript.
Convert strings to JavaScript types (boolean, null, number, object, array)
A type-refinement / validator combinator library for mixed / unknown values in Flow or TypeScript
Zod parser for scenv variables
Enum utilities for typescript, inspired by flow enums
Ensures that a number is within the natural numbers (0, 1, 2...) or throws a RangeError
BigNumber type for Zod
Shared TypeScript utilities
Dessribe structure, validate and coerce values. Powered by dry-types and dry-struct
DuckSauce handles duck type boilerplate so you don't have to.
Forms consist of one or more attributes that are defined with a name, type and optional parameters. Plain ruby classes are used to represent attribute type and should be responsible for coercing the raw input and deciding an inputs validity.
Simple DSL to validate params (and coerce them to the desired type) that fall outside of Rails' default parameter whitelisting and ActiveModel validations system. The common use cases are searching and sorting, whether from an HTML form or via a JSON API.