import * as cav from "https://deno.land/x/cav@0.0.24/parser.ts";
Functions
Normalizes a Parser into a ParserFunction. |
Interfaces
A function that parses data. If data is not shaped as expected, an error should be thrown. | |
An object with a ParserFunction as its "parse" property. Zod compatible. |
Type Aliases
An object or function responsible for parsing data or throwing errors if the
data isn't shaped as expected. These can either be functions with a single
data argument that return the parsed data or an object with a | |
Extracts the input type of a given Parser. | |
Extracts the output type of a given Parser. |