0.1.2 • Published 4 years ago
@securetrading/ts-iin-lookup v0.1.2
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