VanillaMasker is a simple and pure javascript library to mask your input elements. It's a cross-browser and cross-device library.
imask.js is a vanillajavascript library to create input masks.
Features
Text Mask is an input mask library. It can create input masks for phone, date, currency, zip code, percentage, email, and literally anything!