@securetrading/ts-iin-lookupdeprecated

Perform an IIN lookup to determine the credit card type

Usage no npm install needed!

<script type="module">
  import securetradingTsIinLookup from 'https://cdn.skypack.dev/@securetrading/ts-iin-lookup';
</script>

README

IIN Lookup

Perform an IIN lookup to determine the credit card type

Usage

import { iinLookup } from '@securetrading/ts-iin-lookup';
const details = iinLookup.lookup('4111111111111111');
console.log(details.type); // Payment brand e.g. VISA/MASTERCARD/AMEX etc