Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@fiquu/cl-rut

3.0.0 • Public • Published

@fiquu/cl-rut

Build Status GitHub GitHub last commit npm (scoped) npm

Chilean RUT utils for Node.js.

Requirements

This library has been tested with Node.js 12.x.

Installation

npm i @fiquu/cl-rut

Usage

Node.js

Require or import it into you projects as '@fiquu/cl-rut':

const clRut = require('@fiquu/cl-rut');
import clRut  from '@fiquu/cl-rut';

Examples

import clRut  from '@fiquu/cl-rut';
 
const value = '22222222';
 
const calculated = clRut.calculate(value);
const verififer = clRut.verifier(value);
const isValid = clRut.validate(value);
const formatted = clRut.format(value);
const digits = clRut.digits(value);
const clean = clRut.clean(value);

Documentation

Please see https://fiquu.github.io/cl-rut/ for more details.

Install

npm i @fiquu/cl-rut

DownloadsWeekly Downloads

8

Version

3.0.0

License

MIT

Unpacked Size

14.9 kB

Total Files

6

Last publish

Collaborators

  • avatar