Inputmask is a javascript library which creates an input mask. Inputmask can run against vanilla javascript, jQuery and jqlite.
JavaScript library for formatting input text content when you are typing
Simple zero-dependency input mask for Vanilla JS, Vue, Alpine.js and Svelte
autoNumeric is a standalone Javascript library that provides live as-you-type formatting for international numbers and currencies. It supports most international numeric formats and currencies including those used in Europe, Asia, and North and South Am