Skip to content

💸npm package to get a list of Licensed banks from Rwanda with their corresponding swift code, address, contact info, ussd code and bank code

License

Notifications You must be signed in to change notification settings

descholar-ceo/rwbanks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rw-banks

Build Status Open Source Love Open Source Love

A lightweight npm package that can be used to get list of licensed banks from Rwanda and their corresponding swift code, address, contact information, ussd code and bank code.

Installation

yarn add rw-banks

or

npm i rw-banks --save

or

Usage

const { getBanks, getBank } = require("rw-banks");

Examples

const { getBanks, getBank } = require("rw-banks");

const banks = getBanks(); // array of licensed banks
getBanks((error, banks) => {
  console.log(banks); // array of licensed banks with callback
});

// get bank by swift code
const bank = getBank("BKIGRWRW");
getBank("BKIGRWRW", (error, bank) => {
  console.log(bank);
});

// {                                        
//   name: 'BANK OF KIGALI LIMITED',        
//   swift_code: 'BKIGRWRW',                
//   bank_code: 'BKIG',                     
//   address: 'KN 4 Ave, Kigali, Rwanda',   
//   postal_code: '175',                    
//   phone_number: '+250788143000',         
//   toll_free: '4455',                     
//   email_address: 'bk@bk.rw',             
//   ussd_code: '*334#'                     
// }        

Contribution

License

MIT

Author

Igwaneza Bruce

About

💸npm package to get a list of Licensed banks from Rwanda with their corresponding swift code, address, contact info, ussd code and bank code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%