cleave.js: Detailed Overview & Metrics

v1.6.0(about 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 seamless user input experience.

Compared to other input formatting libraries, Cleave.js stands out for its simplicity, flexibility, and ease of integration. It is actively maintained with regular updates and improvements, ensuring compatibility with modern web development practices.

Alternatives:
inputmask+
text-mask+
vanilla-text-mask+
imask+
react-input-mask+
react-text-mask+
vue-text-mask+
v-mask+
react-maskedinput+
ng-mask+

Tags: javascriptinput formattingvalidationuser inputlightweight