@8base/validate
TypeScript icon, indicating that this package has built-in type declarations

1.6.2 • Public • Published

8base Validate

This library is used by the other 8base service packages to validate forms. You can also use it to make your own form validation etc.

API

Table of Contents

validatorFacade

ValidatorFacade creates a validation function based on field metadata

Type: function (field: Field): function (value: any): ValidationError?

Parameters

  • field Field metadata

Returns Function Validation function

Readme

Keywords

none

Package Sidebar

Install

npm i @8base/validate

Weekly Downloads

438

Version

1.6.2

License

MIT

Unpacked Size

24 kB

Total Files

15

Last publish

Collaborators

  • dav1nx1
  • jorge.osorio
  • 8base-bot