chilean-rut-v2
v2.0.4
Published
Validates, formats and deformats chilean rut (chilean tax Number)
Downloads
3
Readme
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')