ssn-formatter
JSON →A lightweight JavaScript library for parsing, formatting, and masking US Social Security Numbers. Current stable version is 1.0.0, released with no subsequent updates. It provides a simple API via `SSNFormatter.parse()` returning an object with area, group, and serial parts, and a `format()` method supporting customizable masks. Key differentiators include minimal dependencies and straightforward pattern-based parsing using characters A-I for SSN digits. However, it lacks TypeScript types, is not actively maintained, and has no built-in validation for invalid SSNs like 000 or 666 prefixes.
Traffic · last 30 days stale · no recent hits
total hits 12
actors 3 distinct systems
last hit 18d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · VN
Resources
packagessn-formatter ↗