RUT Validator & Formatter
JSON →A lightweight (zero-dependency) library for validating, formatting, and cleaning Chilean RUT (Rol Único Tributario). Current stable version: 1.0.1. It provides three primary functions: validateRut (returns boolean), formatRut (adds dots and dash, uppercase K), and cleanRut (removes separators). Ships TypeScript types. Unlike alternatives, it has a simple API with no dependencies and is focused only on Chilean RUT operations.
Resources
packagerut-validator-formatter ↗
API endpoints
full doc /v1/registry/rut-validator-formatter