Introduction
Soff is a collection of lightweight, tree-shakeable utilities designed specifically for LATAM developers with automated versioning. Each library focuses on solving common problems in the region with official algorithms and locale-specific implementations.
Philosophy
Tree-shakeable
Import only what you need. Each function and locale is independently importable.
Zero dependencies
Pure TypeScript with no external runtime dependencies.
Type-safe
Full TypeScript support with exported types.
Lightweight
Optimized for bundle size, typically <1KB per locale.
Universal
Works in Node.js, browsers, and edge runtimes.
LATAM-first
Built specifically for Latin American regional requirements.
Available Libraries
soff-cronv0.0.7
Cron expression parser and human-readable formatter with i18n support.
soff-datev1.2.0
Holiday calculator with algorithmic date computation. Supports Colombia, USA, Mexico, Argentina, and Brazil.
soff-geov0.2.7
Geographic data for LATAM. Departments, municipalities, states, and postal codes.
soff-idv0.2.6
Document validation for LATAM. Validate NIT, RUT, CPF, CUIT, RFC, CURP and more.
soff-maskv0.2.7
Input masking for forms. Phone numbers, documents, currency formatting.
soff-moneyv0.2.7
Currency formatting and calculation for LATAM currencies.
soff-phonev0.0.7
Phone number validation and formatting for LATAM countries.
Supported Countries
π¨π΄ Colombiaπ²π½ MΓ©xicoπ§π· Brasilπ¦π· Argentinaπ¨π± ChileπΊπΈ USA