UNPKG

@validate-me/core

Version:

Main package for `validate-me`. It contains everything to run client side validations with any kind of JS framework or with vanilla JS.

7 lines (5 loc) 148 B
const len = (value, min, max) => `The value has length "${ value.length }" but needs to be between [${min}, ${max}].`; export default len;