yup-es
v1.1.1
Published
es locale for yup
Downloads
701
Maintainers
Readme
yup-es
es-ES locale for yup
Installation
Choose your package manager:
yarn add yup-es | npm i yup-es
Usage
JS
const yup = require('yup')
const es = require('yup-es')
yup.setLocale(es)
ES6 / Typescript
import * as yup from 'yup'
import es from 'yup-es'
yup.setLocale(es)
diegoulloao · 2022