🚀 DAY 4 OF LAUNCH WEEK:Introducing Socket Scanning for OpenVSX Extensions.Learn more →
Socket
Book a DemoInstallSign in
Socket

@fiquu/cl-rut

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fiquu/cl-rut

Chilean RUT utils for Node.js and the browser.

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
1
Created
Source

@fiquu/cl-rut

Build Status GitHub GitHub last commit npm (scoped) npm

Dependency-free, Chilean RUT utils for Node.js and browsers (transpiled).

Requirements

This library has been tested with Node.js 12, 14 and NPM 6.

Installation

npm i @fiquu/cl-rut

Usage

Node.js

Import it into you projects as '@fiquu/cl-rut':

import {
  cleanParts,
  calculate,
  verifier,
  validate,
  format,
  digits,
  clean,
} from '@fiquu/cl-rut';

Examples

import clRut from '@fiquu/cl-rut';

const value = '22222222';

const calculated = calculate(value);
const verifier = verifier(value);
const isValid = validate(value);
const formatted = format(value);
const parts = cleanParts(value);
const digits = digits(value);
const clean = clean(value);

Documentation

Please see the documentation page for more details.

Keywords

chilean

FAQs

Package last updated on 10 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts