🎉 Rut.ts 2.1.0 is released!

Features
Generate

🐣 Generate a random RUT

Generate valid random RUT numbers.

import { generate } from 'rut.ts';
 
const randomRut = generate();
console.log(randomRut); // Output: '12.345.678-9'

Posible use cases

  • Generate test data for RUT validation.
  • Create random RUTs for user interfaces.
  • Generate RUTs for unit tests.