Closed parasg1999 closed 4 years ago
@rubiin I think we should reconsider isCreditCard method and rename it to isPayCard since it is impossible to tell the card type using number without using any APIs which is out of the scope of this library.
Lets keep it on a discussion
In the validator.js repository, they have decided not to rename the method. So maybe we can close it for now to maintain consistency.
sure. Closing it on the favor of the comment
@rubiin I think we should reconsider isCreditCard method and rename it to isPayCard since it is impossible to tell the card type using number without using any APIs which is out of the scope of this library.