2.0.4 • Published 5 years ago

chilean-rut-v2 v2.0.4

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

Installation

To install:

npm install --save chilean-rut

To use:

import chileanRut from 'chilean-rut'
chileanRut.validate('')
chileanRut.format('rut','dv')
chileanRut.unformat('')
chileanRut.validValidatorDigit('')
chileanRut.correctValidatorDigit('')
chileanRut.getValidatorDigit('')

Future functions:

chileanRut.formatOnKeyPress('id')