Permalink
Browse files

[fuck] bullshit, this is not gonna work.

  • Loading branch information...
1 parent 33039fe commit 44305070f67fbeef1a8386b21dfe53ed80509446 @3rd-Eden 3rd-Eden committed Nov 30, 2012
Showing with 7 additions and 241 deletions.
  1. +0 −20 lib/iin/1.js
  2. +0 −11 lib/iin/2.js
  3. +0 −209 lib/iin/4.js
  4. +7 −1 lib/iin/index.js
View
@@ -1,20 +0,0 @@
-module.exports = {
- "100196": {
- "name": "ANA mileage cards with Edy stored-value card function issued by Sony Finance International"
- },
- "134000": {
- "name": "Odeon Première Club"
- },
- "1777": {
- "name": "PAG Airways UATP card"
- },
- "141281": {
- "name": "Lounge Club Airport Lounge Access card"
- },
- "14653": {
- "name": "PAG Airways GOLD UATP card"
- },
- "14983": {
- "name": "UATP"
- }
-};
View
@@ -1,11 +0,0 @@
-module.exports = {
- "201400": {
- "name": "Air Canada En Route, now merged with Diner's Club International"
- },
- "2018": {
- "name": "Canadian Pacific (historical)"
- },
- "2220": {
- "name": "Lufthansa Miles and More Senator card (Star Alliance GOLD)"
- }
-};
View
@@ -1,209 +0,0 @@
-module.exports = {
-"400115": {
- "name": "Visa Electron Barclays"
-},
-"400121": {
- "name": "Electron IRL"
-},
-"400344": {
- "name": "CapitalOne Platinum"
-},
-"400610": {
- "name": "META Bank, (Rewards 660 Visa) Credit Limit Between $200 & $2000"
-},
-"400837": {
- "name": "Electron GWK Bank NV"
-},
-"400838": {
- "name": "Electron GWK Bank NV"
-},
-"400975": {
- "name": "Citi Bank Hong Kong"
-},
-"400917": {
- "name": "Visa Infinite by Citibank Peru"
-},
-"400937": {
- "name": "Bank of China Great Wall Visa"
-},
-"400938": {
- "name": "Bank of China Great Wall Visa"
-},
-"400939": {
- "name": "Bank of China Great Wall Visa"
-},
-"400940": {
- "name": "Bank of China Great Wall Visa"
-},
-"400941": {
- "name": "Bank of China Great Wall Visa"
-},
-"400942": {
- "name": "Bank of China Great Wall Visa"
-},
-"400943": {
- "name": "Bank of China Great Wall Visa"
-},
-"400937": {
- "name": "CN BOC Great Wall International Card Corporate"
-},
-"400938": {
- "name": "CN BOC Great Wall International Card Corporate Gold"
-},
-"400941": {
- "name": "CN BOC Great Wall International Card"
-},
-"400942": {
- "name": "CN BOC Great Wall International Card Gold"
-},
-"400944": {
- "name": "Associated Bank (Citibank (South Dakota) N.A.)"
-},
-"401106": {
- "name": "McCoy Federal Credit Union VISA debit card[1]"
-},
-"401171": {
- "name": "Delta Community Credit Union Visa[1]"
-},
-"401180": {
- "name": "Suntrust Bank Debit Card"
-},
-"4013": {
- "name": "Visa Debit Card"
-},
-"401343": {
- "name": "Tesco Bank Bonus Visa"
-},
-"401344": {
- "name": "Tesco Bank Clubcard Visa"
-},
-"4016": {
- "name": "Citybank (El Salvador)"
-},
-"401612": {
- "name": "Banco Tequendama Visa CREDIT PLATINUM CARD (Colombia)"
-},
-"401773": {
- "name": "Electron IRL"
-},
-"401795": {
- "name": "NAB Visa Debit Card (Australia)"
-},
-"4018": {
- "name": "1st Financial Bank USA"
-},
-"4019": {
- "name": "Wachovia Bank Visa"
-},
-"402360": {
- "name": "Visa Electron from Poste Italiane (Italy) brand name \"PostePay\", Max. balance 3000"
-},
-"4026": {
- "name": "Nordea Bank, VISA Electron"
-},
-"4028": {
- "name": "HSBC Philippine Airlines Mabuhay Miles"
-},
-"402802": {
- "name": "Handelsbanken Visa Credit/Debit Card"
-},
-"402856": {
- "name": "Citi Bank (Hong Kong)"
-},
-"4029": {
- "name": "TD Bank Debit Card"
-},
-"403216": {
- "name": "Navy Federal Credit Union"
-},
-"4037": {
- "name": "US Bank Visa (USA)"
-},
-"403766": {
- "name": "U.S. Bank National Association, Visa Credit Card"
-},
-"403897": {
- "name": "Avangard Bank, Visa Credit/Debit Card"
-},
-"404137": {
- "name": "Greater Building Society Visa Debit Card (Australia)"
-},
-"404146": {
- "name": "National Development Bank Visa Classic (Srilanka)"
-},
-"404159": {
- "name": "China CITIC Bank Visa Platinum (China)"
-},
-"404527": {
- "name": "Cabela's World's Foremost Bank"
-},
-"404586": {
- "name": "Open Bank, Russia - Visa Platinum Transaero Card"
-},
-"404645": {
- "name": "US Bank Visa Debit Card (USA)"
-},
-"405623": {
- "name": "Bank Respublika (Azerbaijan)"
-},
-"405670": {
- "name": "BRE Bank (mBank) Visa Electron Debit Card (Poland)"
-},
-"405803": {
- "name": "Standard Chartered (Hong Kong)"
-},
-"405919": {
- "name": "HSBC Bank A.S. Debit Electron (Turkey)"
-},
-"4060": {
- "name": "CHASE Visa Debit/Credit"
-},
-"406366": {
- "name": "Guangdong Development Bank China Southern Visa UnionPay Duo Credit Card"
-},
-"406632": {
- "name": "VISA Debit - LGE Community Credit Union"
-},
-"406669": {
- "name": "Visa,Banco Bradesco, BRAZIL"
-},
-"406707": {
- "name": "Visa, Bank24.ru, Russia"
-},
-"406742": {
- "name": "Entropay Virtual Visa Card USD"
-},
-"406774": {
- "name": "Visa Platinum credit card, Banco Interamericano de Finanzas - Interamerican finances bank - BIF"
-},
-"407220": {
- "name": "ANZ Frequent Flyer Gold Visa Card"
-},
-"407264": {
- "name": "Heritage Bank VISA (Australia)"
-},
-"407441": {
- "name": "CitiBank Patriot Memory Promo Debit Card"
-},
-"407444": {
- "name": "CSL Plasma and Other Various Plasma Donation Centers"
-},
-"4082": {
- "name": "Visa credit card - Aeromexico - Banamex (Banco Nacional de Mexico)"
-},
-"408461": {
- "name": "Visa - BIA Niger - Morocco"
-},
-"408586": {
- "name": "TD U.S. Dollar"
-},
-"409311": {
- "name": "Branch Banking & Trust Classic Credit Card USA"
-},
-"409617": {
- "name": "First Czech-Russian bank, Russia, Visa Gold Czech Airlines"
-},
-"409908": {
- "name": "Visa(card brand), Debit(card type), Classic(card level), Regional federal credit union (=Regional F.C.U,bank name)"
-}
-};
View
@@ -1,7 +1,13 @@
[1, 2, 3, 4, 5, 6, 7, 8, 9].reduce(function generate(exports, key) {
'use strict';
+ key = key.toString();
+
// Require the different iin ranges and attach it to the exports.
- exports[key.toString()] = require('./'+ key);
+ exports[key] = require('./'+ key);
+
+ // Create a lookup array, so we can easily iterate over them to see if we have
+ // matches againt the starting numbers
+ exports[key +'_keys'] = Object.keys(exports[key]);
return exports;
}, exports);

0 comments on commit 4430507

Please sign in to comment.