{"_id":"card.js","_rev":"6-2db9afac5605cdd0e0571656a1191f41","name":"card.js","description":"parse and validate credit card number in javascript","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"card.js","version":"0.0.1","description":"parse and validate credit card number in javascript","homepage":"https://github.com/coffeedriven/cardjs","author":{"name":"Maciej Dzikowicki","email":"mdzikowicki@gmail.com","url":"http://coffeedriven.org/"},"keywords":["card","date","time","parse","format","validate","i18n","l10n","ender"],"main":"./src/card.js","engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/coffeedriven/cardjs.git"},"bugs":{"url":"https://github.com/coffeedriven/cardjs/issues"},"licenses":[{"type":"MIT"}],"devDependencies":{"grunt":"latest","grunt-contrib-clean":"latest","grunt-contrib-concat":"latest","grunt-contrib-jshint":"latest","grunt-contrib-nodeunit":"latest","grunt-contrib-uglify":"0.8.0","grunt-contrib-watch":"latest","grunt-karma":"latest","jasmine-core":"2.2.0","karma":"0.12.31","karma-coverage":"0.2.6","karma-jasmine":"0.3.5","karma-phantomjs-launcher":"0.1.4","requirejs":"2.1.16"},"scripts":{"test":"grunt karma:ci"},"gitHead":"5da8887765586a8f03ac61c51d416d941dd3f147","_id":"card.js@0.0.1","_shasum":"4650d948ab6dc096af268437d68bf1adb75ab708","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"coffeedriven","email":"mdzikowicki@gmail.com"},"maintainers":[{"name":"coffeedriven","email":"mdzikowicki@gmail.com"}],"dist":{"shasum":"4650d948ab6dc096af268437d68bf1adb75ab708","tarball":"https://registry.npmjs.org/card.js/-/card.js-0.0.1.tgz","integrity":"sha512-K6fNP8JMPNRc6x13xOGJ9fpg99ZcIe8KOxKdvekC78XLwidjgyDDAO+zdfMZDLfRFSQBE9AT37xSjIfuUzqVfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQKwXD+/gadcrMh/+Xw1O4Ok1JlroGNqIxQwJGS2i1uAiBd9JxNsoQWJHdUIuva3ZCJfIx8F16wcB9g+XhQQ3/yiQ=="}]}},"0.0.2":{"name":"card.js","version":"0.0.2","description":"parse and validate credit card number in javascript","homepage":"https://github.com/coffeedriven/cardjs","author":{"name":"Maciej Dzikowicki","email":"mdzikowicki@gmail.com","url":"http://coffeedriven.org/"},"keywords":["card","luhn","validation","validate","creditcard"],"main":"./src/card.js","engines":{"node":"*"},"repository":{"type":"git","url":"https://github.com/coffeedriven/cardjs.git"},"bugs":{"url":"https://github.com/coffeedriven/cardjs/issues"},"licenses":[{"type":"MIT"}],"devDependencies":{"grunt":"latest","grunt-contrib-clean":"latest","grunt-contrib-concat":"latest","grunt-contrib-jshint":"latest","grunt-contrib-nodeunit":"latest","grunt-contrib-uglify":"0.8.0","grunt-contrib-watch":"latest","grunt-karma":"latest","jasmine-core":"2.2.0","karma":"0.12.31","karma-coverage":"0.2.6","karma-jasmine":"0.3.5","karma-phantomjs-launcher":"0.1.4","requirejs":"2.1.16"},"scripts":{"test":"grunt karma:ci"},"gitHead":"f50dc7912105a836d587267826b69f752d244df1","_id":"card.js@0.0.2","_shasum":"cd813e7af0062dff06f19aad4ddc343cdd048b46","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"coffeedriven","email":"mdzikowicki@gmail.com"},"maintainers":[{"name":"coffeedriven","email":"mdzikowicki@gmail.com"}],"dist":{"shasum":"cd813e7af0062dff06f19aad4ddc343cdd048b46","tarball":"https://registry.npmjs.org/card.js/-/card.js-0.0.2.tgz","integrity":"sha512-nCF8FxtweIQ6TJhUlpemTC0O44hDpDSkDbNZxDkwxEW7SVvyVjd5nMAZGeTy4wZInA5RpRUkuyuiHx7WgKuFHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZRfDvBb/lmXlF6a6CfOnv+WLRn38Kla+Khuz+1e1KlAiEA46q0jDI0g1rEeuByNnf9coHPoL4JQKL9S07BDeD7o30="}]}}},"readme":"[![Build Status](https://travis-ci.org/coffeedriven/card.js.png)](https://travis-ci.org/coffeedriven/card.js)\n[![Code Coverage](https://codeclimate.com/github/coffeedriven/card.js/badges/coverage.svg)](https://codeclimate.com/github/coffeedriven/card.js)\n[![Code Climate](https://codeclimate.com/github/coffeedriven/card.js/badges/gpa.svg)](https://codeclimate.com/github/coffeedriven/card.js)\n\n# card.js\ncard.js - parse and validate credit card number in javascript.\n\n## Features\n\n  - Credit card type detection based on IIN number. See more on [wikipedia](http://en.wikipedia.org/wiki/Bank_card_number#Issuer_identification_number_.28IIN.29)\n  - Credit card type detection for full length card number\n  - Luhn algorithm validation\n  \n## Loading\n\nThe library is the single JavaScript file *card.js* (or minified, *card.min.js*).   \n\nIt can be loaded via a script tag in an HTML document for the browser\n\n    <script src='./relative/path/to/card.js'></script>\n   \n(check [examples/browser](examples/browser)) or as a CommonJS, [Node.js](http://nodejs.org).\n\nFor Node, put the *card.js* file into the same directory as the file that is requiring it and use\n\n    var card = require('./card.js'); \n\nor put it in a *node_modules* directory within the directory and use `require('card.js')`. See example in [examples/nodejs](examples/nodejs).\n\nThe library is also available from the [npm](https://npmjs.org/) registry, so\n\n    $ npm install card.js\n\nwill install this directory in a *node_modules* directory within the current directory.  \n\n## Usage\n\n```\ncard('4111111111111111').getType(); // output: visa\ncard('41').getType(); // output: visa\ncard('4111111111111111').isValid(); // output: true\n```\n\n## Supported browsers\n\n  - Chrome\n  - Firefox\n  - Internet Explorer 9\n  - Safari\n  - Opera\n  \n## Supported card types:\n \nIssuing network | card type returned by `getType`\n--- | ---\nVisa | visa\nMastercard | mastercard\nAmerican Express | amex\nMaestro | meastro\nDiners Club | diners\nDiscover | discover\nJCB | jcb\nUATP | uatp\nInterPayment | interpayment\nInstaPayment | instapayment\nChina UnionPay | unionpay\nDankort | dankort\n","maintainers":[{"name":"coffeedriven","email":"mdzikowicki@gmail.com"}],"time":{"modified":"2022-06-13T05:36:41.886Z","created":"2015-03-15T21:44:17.645Z","0.0.1":"2015-03-15T21:44:17.645Z","0.0.2":"2015-03-15T22:46:40.298Z"},"homepage":"https://github.com/coffeedriven/cardjs","keywords":["card","luhn","validation","validate","creditcard"],"repository":{"type":"git","url":"https://github.com/coffeedriven/cardjs.git"},"author":{"name":"Maciej Dzikowicki","email":"mdzikowicki@gmail.com","url":"http://coffeedriven.org/"},"bugs":{"url":"https://github.com/coffeedriven/cardjs/issues"},"readmeFilename":"README.md"}