npm

chilean-rut-v2

2.0.4 • Public • Published

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

Package Sidebar

Install

npm i chilean-rut-v2

Weekly Downloads

1

Version

2.0.4

License

ISC

Unpacked Size

22.1 kB

Total Files

6

Last publish

Collaborators

  • bruno.sl4m