ConstDecodes a base64 string into a Buffer.
Parses a JSON string; passes non-string values through unchanged.
Splits a string on separator into a trimmed string array; returns [] for non-string input.
Splits a delimited string (or passes through an array) into items, running each through processors in order.
Coerces a value to a bigint.
Coerces common boolean-like strings (true/1/yes/on, and their opposites) into a real boolean.
Parses a value into a Date.
Coerces a value to a number and requires it to be an integer.
Lowercases a string (coercing nullish values to "" first).
Coerces a value to a number, rejecting empty/whitespace-only strings instead of silently resolving to 0.
Compiles a value into a RegExp.
Coerces a value to a string, treating nullish values as "".
Uppercases a string (coercing nullish values to "" first).
Parses a value into a URL, treating nullish values as "" first.
Trims surrounding whitespace from a string (coercing nullish values to "" first).
Convenience runtime.Processor implementations for common coercion patterns (e.g.
processors.toNumber()).