Skip to content

myatsuphyo/bin-lookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCI BIN Numbers Look-up Project

This project reads BIN numbers in a file located at the inputted filepath and creates a report including data about those BIN numbers and an errors report. It is required to purchase API key on https://www.bindb.com.

The aim is to be useful for the transition of BIN migration from 6-digits to 8-digits. Here is a good article about preparing for 8-digits BINs.

https://medium.com/m2p-yap-fintech/the-bin-migration-preparing-for-8-digit-bins-642ebbcc56e0

Requirements

How to use

  • Install packages locally using npm or yarn after cloning:
$ cd ../bin-lookup
$ npm install or yarn install

  • Create .env file and declare env variables. Please, check .env.example for required variables.

  • Run npm run start

  • In terminal, "Reading BIN: " and "Writing at " logs are outputted.

  • After the program is run successfully, report and errors files can be found under inputted .

Memory-wise improvement

  • Using stream to read and write files

About

PCI BIN Numbers Look-up Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published