Fake a number. Check a number.

available as JS libary and online tool

import { creditCard } from '@phuocng/fake-numbers';

// Fake a credit card number
const creditCardNumber = creditCard.fake();

// Check a credit card number
creditCard.check(creditCardNumber).valid; // true
© 2020 Nguyen Huu Phuoc. All rights reserved.
This site is open source