card-validator

1 · · Dec. 4, 2021, 6:29 p.m.
card-validator Validate credit cards as users type. Credit Card Validator provides validation utilities for credit card data inputs. It is designed as a CommonJS module for use in Node.js, io.js, or the browser. It includes first class support for ‘potential’ validity so you can use it to present appropriate UI to your user as they type. A typical use case in a credit card form is to notify the user if the data they are entering is invalid. In a credit card field, entering “411” is not necessari...