Skip to content

diegoulloao/yup-es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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