nigeria-banks
Version:
A comprehensive list of Nigerian banks, including commercial, microfinance, digital banks, and payment service providers.
119 lines (58 loc) โข 2.16 kB
Markdown
# ๐ณ๐ฌ Nigeria Banks List
A comprehensive list of Nigerian banks, including commercial banks, microfinance banks, digital banks, and payment service providers โ with utility functions for easy integration into your applications.
## โจ Features
- ๐ฆ Full list of banks with standardized names and codes
- ๐ Utility functions: get all banks, search by code, or search by name
- ๐ Includes traditional, digital, and fintech banks (Kuda, OPay, PalmPay, and more)
- ๐ผ Ideal for developers building applications in the Nigerian financial ecosystem
## ๐ฆ Installation
Install the package from NPM:
```bash
npm install nigeria-banks
Or install from a local folder (during development):
npm install /path/to/nigeria-banks
๐ Usage
1. Import the Package
import { getBanks, findBankByCode, findBankByName } from 'nigeria-banks';
2. Get All Banks
const allBanks = getBanks();
console.log(allBanks);
Returns an array of all Nigerian banks:
[
{ name: "Access Bank", code: "044" },
{ name: "Zenith Bank", code: "057" },
{ name: "Kuda Bank", code: "900" },
// ...
]
3. Find a Bank by Code
const bank = findBankByCode("044");
console.log(bank);
Returns:
{ name: "Access Bank", code: "044" }
4. Find a Bank by Name
const bank = findBankByName("Access Bank");
console.log(bank);
Returns:
{ name: "Access Bank", code: "044" }
๐ Development
1. Clone the Repository
git clone https://github.com/kennyendowed/nigeria_banks.git
cd nigeria_banks
2. Install Dependencies
npm install
3. Build the Project
npm run build
This compiles the TypeScript source into the dist/ directory for publishing or use.
๐งพ License
This project is licensed under the MIT License.
๐ค Contribution
Contributions are welcome! Please follow these steps:
Fork the repository
Create a new branch
Make your changes
Submit a pull request (PR)
๐ฌ Contact
Maintained by @kennyendowed
Let me know if you'd like badges added to the top (e.g., `npm version`, `license`, or GitHub stars).