1.0.18 • Published 8 months ago

rutility v1.0.18

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

RUTility

Chilean RUT Validation and Formatting Library

Version Downloads

A library for validating and formatting the Chilean RUT (Rol Único Tributario). This library provides functions to format the RUT with dots and dashes, as well as to validate its format and check digit.

Installation

You can install the library using npm:

npm install rutility

Usage

Import in a Node.js Project

const { format, calculateDv, isValidRut, isFormat } = require('rutility');

Import in an ES6 Module

import { format, calculateDv, isValidRut, isFormat } from 'rutility';

Formatting Functions

Validation Functions

Format Validations

Contributing

If you wish to contribute to this project, please open an issue or submit a pull request.

Main Developer

Contribuidores

License

This project is licensed under the MIT License.

1.0.18

8 months ago

1.0.17

8 months ago

1.0.16

10 months ago

1.0.15

10 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

12 months ago

1.0.10

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago

0.0.1

12 months ago