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 create input masks for various types of data 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 enforce specific formats and improve user experience.

Compared to other input formatting libraries, Cleave.js stands out for its simplicity, flexibility, and performance. It is actively maintained with regular updates and a growing community of users. Cleave.js is a great choice for developers looking to enhance the usability and data input accuracy of their web applications.

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

Tags: javascriptinput formattinguser experiencedata validationlightweight