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')