Cleave.js has a simple purpose: to help you format input text content automatically. For credit card number formatting, phone number formatting (i18n js lib separated for each country to reduce size), date formatting, numeral formatting, custom delimiter, prefix and blocks pattern, commonJS / AMD mode, ReactJS component, AngularJS directive (1.x), ES Module. The idea is to provide an easy way to increase input field readability by formatting your typed data. By using this library, you won't need to write any mind-blowing regular expressions or mask patterns to format input text. However, this isn't meant to replace any validation or mask library, you should still sanitize and validate your data in backend.

Features

  • Credit card number formatting
  • Phone number formatting
  • Date formatting
  • Numeral formatting
  • Custom delimiter, prefix and blocks pattern
  • CommonJS / AMD mode, ReactJS component, AngularJS directive

Project Samples

Project Activity

See All Activity >

Categories

Data Formats

License

Apache License V2.0

Follow Cleave.js

Cleave.js Web Site

Other Useful Business Software
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar Icon
Comprehensive Cybersecurity to Safeguard Your Organization | SOCRadar

See what hackers already know about your organization – and stop them from getting in.

Protect your organization from cyber threats with SOCRadar’s cutting-edge threat intelligence. Gain 360° visibility into your digital assets, monitor the dark web, and stay ahead of hackers with real-time insights. Start for free and transform your cybersecurity today.
Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Cleave.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Data Formats Software

Registered

2021-03-18