Skip to content

OpesanyaAdebayo/GetBankFromNuban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetBankFromNuban

Get a list of banks an account number number likely belongs to, along with their bank codes.

How does it work?

The Central Bank of Nigeria released the guidelines on Nigeria Uniform Bank Account Number(NUBAN) scheme in August, 2010. The proposal contains the algorithm for account number generation, and that is what is implemented in this project.

Running the application in repl.it

If you want to see it in action without downloading, please visit repl.it and run index.ts.

Running the application locally

  1. Clone this repository

    git clone https://github.com/OpesanyaAdebayo/GetBankFromNuban.git

    cd GetBankFromNuban

  2. Run the application: You can add the following at the bottom of src/getBanks.ts

    console.log(getPossibleBanks('<Any Valid Bank Account Number>'));

    then install dependencies:

    npm install

    and then run

    npm start

    you should see an array of banks the account number likely belongs to, as well as their bank codes logged to the console.

Test

  1. Install dependencies

    npm install

  2. Run npm test

About

Get a list of banks an account number number likely belongs to

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors