valid-card-number
A tool for credit card number validation as well as IMEI of your mobile device validation (use *#06# on your phone to find out IMEI). Luhn algorithm was used for development of this tool.
Installation:
npm install valid-card-number
Example of usage:
let validate = isValid; // IMEI validation; // true // bank card validation; // true
To run tests use the following command from the module directory:
npm test
Happy hacking!