Cleave.js Description
Format your
When you are typing, content will appear. Cleave.js serves a single purpose: to automatically format input text content. Formatting credit card numbers, phone numbers (i18n.js lib seperated for each country to reduce their size), date formatting and numeral formatting, CommonJS/AMD mode and ReactJS component, AngularJS directive 1.x, and ES module. This library is designed to make it easier to format your data and improve the readability of input fields. This library will allow you to format input text without the need to create any complicated regular expressions or mask patterns. This library is not meant to replace any validation or masque library. You should still validate and sanitize your data in the backend. The community contributes types. Types for React are also available and can also be imported in the same manner.