Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract to another project / Entity #164

Open
renatovico opened this issue Jun 30, 2023 · 3 comments
Open

Extract to another project / Entity #164

renatovico opened this issue Jun 30, 2023 · 3 comments

Comments

@renatovico
Copy link

renatovico commented Jun 30, 2023

Want to request a feature or report a bug?

I need again validate creditcard but now in another language, think a moment about this, why not extract the current list (
https://github.com/ContaAzul/creditcard.js/blob/master/src/cards.js) to a json or csv for a better consumer in similar fashion tz-data works (https://www.iana.org/time-zones)

What is the current behavior?

CreditCard list is very specified for creditcard.js project

What is the expected behavior?

Create a more comprehensive and collaborative creditcard list

@vr-varad
Copy link

Creating a more comprehensive and collaborative credit card list involves leveraging community contributions, adhering to security and privacy guidelines, and continuously updating the list with accurate information.
'''
// Collaborative Credit Card List

const collaborativeCreditCards = [
{
name: 'ExampleCard',
bins: /^(123456|789012)[0-9]{10,12}/,
codeLength: 3,
},
// Add more card types contributed by the community...
];

export default collaborativeCreditCards;
'''

@vr-varad
Copy link

@cacontinuos what about adding more cards that it support that are widely used around the globe?

@cirocfc
Copy link
Member

cirocfc commented Nov 21, 2023

Hey @renatovico and @vr-varad , pull requests are welcomed. Feel free to engage in this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants