5.0.4 • Published 3 years ago

info-rut v5.0.4

Weekly downloads
11
License
MIT
Repository
github
Last release
3 years ago

info-rut

npm version npm downloads Build Status Coverage Status Maintainability dependency Status devDependency Status

Get person or enterprise from a valid RUT or full name

Installation

npm i -S info-rut

Use

Try on RunKit

const infoRut = require('info-rut')

const rut = '11111111-1'
infoRut.getPersonByRut(rut).then(console.log).catch(console.error)
infoRut.getEnterpriseByRut(rut).then(console.log).catch(console.error)

const name = 'juan perez'
infoRut.getPersonByName(name).then(console.log).catch(console.error)
infoRut.getEnterpriseByName(name).then(console.log).catch(console.error)

License

MIT

5.0.4

3 years ago

5.0.3

4 years ago

5.0.2

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago

0.0.2

9 years ago

0.0.1

9 years ago