# chileanrutvalidator

> Validate Chilean Rut

Latest version **1.0.5** (published 2019-03-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install chileanrutvalidator
pnpm add chileanrutvalidator
yarn add chileanrutvalidator
bun add chileanrutvalidator
```

Provides the command `chileanrutvalidator`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-03-27 |
| First published | 2018-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Stephanie Piñero |
| Maintainers | stephanie.pinero |
| Keywords | cli, bin, rut, validation, chilean |

## Links

- npm: https://www.npmjs.com/package/chileanrutvalidator
- Repository: https://github.com/stephaniepinero/chileanrutvalidator
- Homepage: https://github.com/stephaniepinero/chileanrutvalidator#readme
- Issues: https://github.com/stephaniepinero/chileanrutvalidator/issues
- npm.io page: https://npm.io/package/chileanrutvalidator

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2019-03-27
- 1.0.4 — 2019-03-27
- 1.0.3 — 2019-03-18
- 1.0.2 — 2018-10-12
- 1.0.1 — 2018-10-12
- 1.0.0 — 2018-10-12

## README

#RUT Validator

Verify or format RUT

## Install

The easiest way to install acorn is with [`npm`][npm].

[npm]: https://www.npmjs.com/

```sh
npm install chileanrutvalidator
```

Alternately, download the source.

```sh
git clone https://github.com/stephaniepinero/chileanrutvalidator.git
```

## Usage

Verify:

```
const rutvalidator = require('chileanrutvalidator');

rutvalidator.validarRut('xxxxxxxx-x')
```

Return true or false.

Format:

```
const rutvalidator = require('chileanrutvalidator');

/**
* @param {string} rut RUT a formatear
* @param {boolean} punto Indica si se quiere puntos en el formato
* @param {boolean} guion Indica si se quiere guion en el formato
*/
rutvalidator.formatRut('xxxxxxxx-x', true, true);

//En el ejemplo retornaria xx.xxx.xxx-x
```

---
_Source: https://npm.io/package/chileanrutvalidator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
