validlyjs
Version:
ValidlyJS is a lightweight, type-safe validation library inspired by Laravel's validation syntax
15 lines (14 loc) • 725 B
TypeScript
export { Validator } from "./core/Validator.js";
export { configure } from "./config.js";
export { string } from "./builders/StringBuilder.js";
export { number } from "./builders/NumberBuilder.js";
export { array } from "./builders/ArrayBuilder.js";
export { file } from "./builders/FileBuilder.js";
export { boolean } from "./builders/BooleanBuilder.js";
export { date } from "./builders/DateBuilder.js";
export { object } from "./builders/ObjectBuilder.js";
export { extend } from "./rules/index.js";
declare let useValidator: null;
declare let useVueValidator: null;
export { useValidator, useVueValidator };
export type { ValidationResult, ValidationConfig, SchemaDefinition, RuleHandler, } from "./types/interfaces.js";