cc-formatter
v1.0.5
Published
credit card date expiration
Downloads
3
Maintainers
Readme
Credit Card Number Formatter
Provides usage in the format of ##/## Enables validation for month and year inputs Contains some controls such as preventing copy-pasting within the package.
Installation
npm i cc-formatter
Example
<input type="text" id="myInput">
<script>
$('#myInput').ccFormatter();
</script>