auto-formatter

JSON →
library 0.1.0 ·javascript maintenance
verified Jun 4, 2026

auto-formatter is a browser-based library that formats input fields as you type, supporting phone numbers (e.g., (XXX) XXX-XXXX, XXXXX-XXXXX), credit card numbers (XXXX XXXX XXXX XXXX), and dates (DD/MM/YYYY, MM/DD/YYYY, YYYY/MM/DD). Version 0.1.0, released in 2015, is the sole and final version. It is a simple, dependency-free solution for client-side formatting, using a pattern-based approach with optional left-to-right (LTR) or right-to-left (RTL) direction, max length limiting, and recurring pattern support. The package has not been updated since 2015 and remains in maintenance mode. Key differentiator: zero dependencies and a straightforward API for real-time formatting without complex configuration.