cardno
analyze creditcard number
Installation
$ npm install cardno
or
$ bower install cardno
Example
var cardno = ; var no = '4111111111111111'; no2 = '4111-1111-1111-1111'; console;// ==> true console// ==> Visa console// ==> 4111111111111111
if you want to use this in browsers, you may need reference the lib to your html
License
MIT © Leigh Zhu