cc-formatter

1.0.5 • Public • Published

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>

Package Sidebar

Install

npm i cc-formatter

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

1.78 kB

Total Files

3

Last publish

Collaborators

  • firebasedatabase13