54 packages found
Validatem validator for ensuring that a value is a URL, optionally requiring a certain protocol(s)
Validatem validator for ensuring that a value is a string
Validatem validator for ensuring a value is an array, adding a single value into an Array if needed
Validatem validator for ensuring that a value is a string
Validatem validator for ensuring that a value is a function
Validatem "validator" for defaulting to a certain value, when no value is given
Validatem combinator for marking a hasShape or object literal rule as allowing additional, unspecified properties
Validatem combinator for overriding the validation error message that is produced when a (set of) rules fails
Validatem validator for ensuring that a value is a boolean
Validatem combinator for specifying 'alternatives', and verifying that a value meets at least one of the rules
Validatem combinator for validating that a value is an array of items meeting certain rules
Validatem validator that allows anything through, for eg. explicitly allowing properties unchecked
Validatem combinator for applying context (custom configuration) to a validator
Validatem combinator for validating both the keys and values of a mapping object
Validatem validator for ensuring that a value is an array
Validatem validator for ensuring that a value is a number
Validatem validator for ensuring that a string matches a specified regular expression
Validatem validator for ensuring that a value is one of a list of allowed values (like an enum)
Validatem validator for ensuring that a value is a plain object (eg. object literal)
Validatem validator for ensuring that a value is specifically a particular value; useful for eg. asserting expected values