UNPKG

robust-validator

Version:

Rule-based data validation library

15 lines (14 loc) 314 B
/** * Validate that an attribute has a valid URL format * * @example * import { url } from "robust-validator" * * const definition = { * value: [url()] * }; * @type {string} * @tutorial https://validator.axe-api.com/rules.html#url */ declare const _default: () => string; export default _default;