
Research
SAP CAP npm Packages Hit by Supply Chain Attack
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.
validar-rut
Advanced tools
LibrerĂa con herramientas para el RUT chileno.
Incluye:
npm i validar-rut
ES6:
import { validateRUT, getCheckDigit, generateRandomRUT } from 'validar-rut'
CommonJS:
const { validateRUT, getCheckDigit, generateRandomRUT } = require('validar-rut')
Lista de funciones disponibles
| FunciĂłn | DescripciĂłn |
|---|---|
| validateRUT(rut: string|number) | Valida el RUT ingresado. Retorna true o false dependiendo del resultado. |
| getCheckDigit(rut: string|number) | Retorna el dĂgito verificador del RUT ingresado. |
| clearRUT(rut: string) | Limpia todos los caracteres no-alfanuméricos del RUT y lo retorna. |
| generateRandomRUT(amount: int, dots: boolean, hyphen: boolean) | Obtiene uno o una lista (segĂşn el valor de amount) de RUTS válidos generados aleatoriamente. Se puede configurar el resultado (opciones en false por defecto): dots: Si quieres que incluya puntos puntoshyphen: Si quieres que incluya un guiĂłn antes del dĂgito verificador. |
generateRandomRUT() para obtener uno o más RUT aleatorios. (Las funciones con nombre en español siguen estando disponibles, pero están deprecadas)FAQs
Validador de RUT
The npm package validar-rut receives a total of 173 weekly downloads. As such, validar-rut popularity was classified as not popular.
We found that validar-rut demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.