cleave.js: Detailed Overview & Metrics

v1.6.0(over 4 years ago)

This package was last published over a year ago. It may not be actively maintained.Types definitions are provided via a separate npm package: @types/cleave.jsNumber of direct dependencies: 0Monthly npm downloads

Cleave.js is a lightweight JavaScript library for formatting input text content as users type. It provides a simple way to format and validate various types of input such as phone numbers, credit card numbers, dates, and more. Cleave.js offers customizable options for defining input patterns, delimiters, and blocks, making it easy to create a user-friendly input experience.

Compared to other input formatting libraries, Cleave.js stands out for its ease of use, flexibility, and extensive documentation. It is actively maintained with regular updates and bug fixes, ensuring compatibility with modern web development practices.

Alternatives:
imask+
vanilla-masker+
text-mask+
inputmask+
jquery-mask-plugin+
awesome-mask+
string-mask+
react-text-mask+
vue-text-mask+
angular-input-masks+

Tags: javascriptinput formattingvalidationuser experiencelightweight