validcreditcard

valid credit card simple very simple and basic

Usage no npm install needed!

<script type="module">
  import validcreditcard from 'https://cdn.skypack.dev/validcreditcard';
</script>

README

What is this ?

Get simple validatation creditcard whithe other simple fuction display amex creditcard with separated and visa with separated

Installation

npm i validcreditcard --save

Then... ...

import { validCard } from 'validcreditcard'

let creditcardnumber = 4242424 console.log(validCard(creditcardnumber))

...