1.0.5 • Published 1 year ago
cc-formatter v1.0.5
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>