@rescriptbr/reschema

3.0.3 • Public • Published


What is this?FeaturesInstallationDocumentationLive demo (with ReForm)


What is this? 💡

ReSchema is a schema builder for ReScript. We created ReSchema to be deadly simple, leveraging ReScript's powerful typesytem. Schemas created with ReSchema are nothing more than constructors built-in in the language itself with a small size footprint.

Features

  • Schema validation using GADT's
  • Built-in validators
  • Type-safe validation
  • I18n support
  • Regex support
  • Custom validations

Installation 📦

yarn add @rescriptbr/reschema

and then, add ReSchema as a dependency in your bsconfig.json

{
  ...
  "bs-dependencies": [
    "@rescriptbr/reschema"
  ],
}

Documentation 🔎

Readme

Keywords

none

Package Sidebar

Install

npm i @rescriptbr/reschema

Weekly Downloads

474

Version

3.0.3

License

MIT

Unpacked Size

59.1 kB

Total Files

16

Last publish

Collaborators

  • matdsoupe
  • vmarcosp
  • fakenickels
  • diogomqbm