mok-ecosystem
v10.4.0
Published
Data validation and transformation system.
Downloads
39
Readme
mok-ecosystem
Data validation and transformation system.
Install
npm install mok-ecosystem
yarn add mok-ecosystem
Usage
Events onChange
formatCpf - Returns the number of CPF Formatted and optionally sent to your string function handleChange(Status Handler).
onChange={e => formatCpf(e.target.value, handleChange)}
onChange={e => formatCpf(e.target.value, handleChange)}
let cpfFormat = formatCpf(e.target.value);
console.log(cpfFormat)
formatCpfChange - Returns the number of CPF Formatted and is sent to its handleChange(Status Handler) string function.
onChange={e => formatCpfChange(e, handleChange)}
In process and under construction...
License
mok-ecosystem is released under the MIT License.
⌨️ con ❤️ por angelovelandia 😊