Validate Spanish NIF, DNI, NIE and CIF numbers in JavaScript/TypeScript. Official rules (BOE/AEAT), zero dependencies, typed, ESM+CJS, messages in 5 languages.
TypeScript validation library, compose validators and nested containers onto object paths, with integrations for Zod, Standard Schema, validator.js, and Vue 3.
👨🚀 Turn API specifications into production-ready SDKs, validators, mocks, and more. 20+ plugins. Millions of weekly npm downloads. Used by Vercel, OpenCode, PayPal, AWS, Autodesk, and many more.