npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@geoalgeria/banques

v2.1.1

Published

Algeria's licensed banks & financial institutions (Banque d'Algérie agréé list): 21 banks + 8 financial institutions with FR/AR names, 3-digit RIB bank code, ownership + parent group, country, SWIFT/BIC, website, and head office, plus 1,704 branch locatio

Readme

English | Français | العربية

@geoalgeria/banques

Every bank in Algeria, as data you can install.

npm Code: MIT

The 21 banks and 8 financial institutions licensed (agréés) by the Banque d'Algérie, with FR/AR names, the 3-digit RIB bank_code, ownership (public / foreign / domestic) + controlling parent group, SWIFT/BIC, website, head-office address, and wilaya linkage. Compiled from the official Banque d'Algérie list (Journal Officiel n° 9, 6 February 2026) and each institution's own site. Part of GeoAlgeria.

npm install @geoalgeria/banques
import banques from "@geoalgeria/banques";

banques.banks();              // 21 agréé banks
banques.institutions();       // 8 financial institutions
banques.all();                // 29, banks first
banques.byId("BNA");          // → Banque Nationale d'Algérie (by id or acronym)

What's inside

| Dataset | Count | Notes | | --- | --- | --- | | Banks | 21 | 7 public · 14 foreign-owned – RIB bank code, name FR/AR, ownership + parent, country, SWIFT/BIC, HQ | | Financial institutions | 8 | leasing, refinancing & mutual-credit entities (non-deposit) | | Branch locations | 1,704 | all 21 banks – name, address, phone, wilaya, coordinates; 1,325 geocoded; 67/69 wilayas |

Every record carries wilaya_code (head office) linked to the geoalgeria 69-wilaya model.

Provenance & honesty

  • Roster is the current Banque d'Algérie agréé list, verified at 21 banks + 8 institutions (Ziraat Bankası, approved Jan 2025, is the newest bank).
  • Fields that could not be confirmed from an official source are null, never guessed, most foreign banks publish no Arabic name; financial institutions carry no SWIFT/BIC; a few head-office addresses are best-effort and may be refined.
  • SWIFT/BIC values are head-office (…XXX) variants.
  • Branch coordinates are kept only when they fall inside Algeria (and, for banks whose locator merely geocodes addresses, agree with the branch's stated wilaya); otherwise the point is dropped and the wilaya kept, never a guessed coordinate. Locator pages are fetched with TLS verification disabled (curl -k) because several .dz bank hosts serve broken certificates.
  • Fully address-only banks are BNH (60 branches), HBTF (10), and Fransabank (23): their official directories publish no coordinates, so those branches ship with lat/lng null and a wilaya read from the address's trailing locality. BEA has 89 of 111 branches geocoded and SGA 3 of 84 after strict source and evidence checks; their remaining branches also stay address-only. AGB's locator sits behind a bot challenge, so its 63 branches are captured via a headless browser and refreshed manually; Arab Bank publishes only city-level points (name + coordinates, no address). BDL and Trust Bank come from each bank's published Google My Maps (KML); Citibank, HSBC and Ziraat are their single Algiers offices.
  • Five address-only BDL agencies are supplemented with reviewed OpenStreetMap coordinates only where the OSM object carries the same BDL agency number and agrees on the bank, wilaya, and locality. Node points are exact; building centroids are approximate. Each corrected record includes its evidence URLs.
  • Three SGA agencies are supplemented only where the bank, street, wilaya, and locality match in OSM, with the house number also matched where available. Each corrected record carries both locator and OSM evidence URLs.
  • Six branches sat on a rounded placeholder: degrees and minutes with the seconds dropped, which reads as a precise decimal. AGB Laghouat's 33.58333, 2.66667 is 33°35'N 2°40'E, 30.9 km from the street its own address names. Four are re-placed on a reviewed OpenStreetMap object of the same bank in the same commune (AGB Constantine, AGB Tébessa, BADR Kenadsa, BADR Aïn Témouchent); the other two, AGB Laghouat and BADR Taghit, carry their commune's centre as approximate, because OpenStreetMap maps no object of their bank within 25 km. All six publish their commune_code/commune and their evidence URLs, and a point on the whole-arcminute grid can no longer enter the dataset as exact.
  • bank_code is the 3-digit RIB code banque (IBAN positions 5–7), verified against independent code-banque tables, no single official public register exists. BNH and Ziraat (both newly licensed) have no published code yet → null. Financial institutions are non-deposit, so they carry no bank_code.

Roadmap (this package)

The registry is layer one; branch locations now cover all 21 banks / 1,704 branches (67/69 wilayas). Each bank publishes its network through a different locator, Joomla com_mymaplocations, WordPress store-locator / map plugins, a Vite SPA bundle, ASP.NET/TYPO3 pages, inline map JSON, Google My Maps KML, so banks are added one extractor at a time (see scripts/fetch.mjs). Address-only locators ship with lat/lng null (wilaya resolved from the address); where a source's coordinates disagree with the branch's stated wilaya, the coordinates are dropped rather than shipped wrong. Still to come behind the same @geoalgeria/banques:

  • ATMs (DAB/GAB) – where individual banks publish locators; honest about completeness, since Algeria has no single public ATM directory.

Formats

banks.json and institutions.json import directly; CSV mirrors are under data/csv/ and bundled in every GitHub Release. Loaders and record shapes are fully typed.

Disclaimer

@geoalgeria/banques is an independent open dataset. It is not affiliated with, endorsed by, or connected to the Banque d'Algérie or any bank or institution listed; their names, acronyms, and SWIFT/BIC codes belong to their respective owners and are used for identification only. The data is compiled from public sources and provided "as is", without warranty, it may be incomplete or outdated. Verify bank_code / SWIFT-BIC and branch details against the official source before any financial, payment, KYC, or compliance use. Nothing here is financial or legal advice. To report an error or request a correction/removal, open an issue.

Full terms: see the project DISCLAIMER.

Licence

Code (loaders, types): MIT. Data: public factual data (regulatory listings + each institution's public locator), redistributed for reference; reviewed OSM coordinates are © OpenStreetMap contributors under ODbL 1.0. You remain responsible for the terms of the original sources.

API docs & field reference → · Browse all packages →


Made by Yasser's studio · LinkedIn · X · [email protected]

GeoAlgeria is free, and it stays free. The same studio also makes maps, websites, mobile apps and open data for clients.