Skip to main content

livr 0.1.0 copy "livr: ^0.1.0" to clipboard
livr: ^0.1.0 copied to clipboard

Fast, zero-dependency Dart validator implementing the Language Independent Validation Rules (LIVR) specification. Rules are plain data.

0.1.0 #

  • First version: all rules of LIVR 2.0, aliases, custom rules and metarules, camelCase rule names, autoTrim.
  • Typed by default: Validator(schema, User.new) returns ValidationResult<User>, with an extension type over the output map or a model class (User.fromJson); Validator.untyped(schema) returns the output as a map; result.map(convert) converts one result.
  • Passes the LIVR test suite on the Dart VM, AOT and the web.
1
likes
160
points
92
downloads

Documentation

API reference

Publisher

verified publisherlivr-spec.org

Weekly Downloads

Fast, zero-dependency Dart validator implementing the Language Independent Validation Rules (LIVR) specification. Rules are plain data.

Homepage
Repository (GitHub)
View/report issues

Topics

#validation #validator #livr #schema

License

MIT (license)

More

Packages that depend on livr