Vanilla Masker is a light weight pure JavaScript library that help people to mask HTML input value to a specified format. Something like when you enter USD1000, it will become USD1,000.00 automatically. Beside the ready-made format you can also create your own masking patterns.
Vanilla Masker can be use to mask money amount, phone number, date, car plate and more. Include the vanilla-masker.js (2.2KB only) and get started now! Checkout the ‘How To Use’ section all the usage has been written there, enjoy this piece of cake~
Support all the modern browsers (Mobile + Desktop).
Cost: FREE
Requirement: JavaScript
Source: Read more about Vanilla Masker