Skip to content

cityssm/get-canadian-bank-name

Repository files navigation

Get Canadian Bank Name

npm (scoped) Codacy grade Code Climate maintainability Code Climate coverage AppVeyor Snyk Vulnerabilities for GitHub Repo

A simple library to translate Canadian bank institution and transit numbers into the corresponding bank names.

Installation

npm install @cityssm/get-canadian-bank-name

Usage

import { getCanadianBankName } from "@cityssm/get-canadian-bank-name";

console.log( getCanadianBankName('001') );
// -> "Bank of Montreal"

console.log( getCanadianBankName('828', '14492') );
// => "Northern Credit Union"

Need More Information?

This project was made to help validate preauthorized payment data tracked by the City of Sault Ste. Marie. Included institution numbers were prioritized based on the City's needs.

Need some additional institution numbers for your uses? Need to correct a bank name that is spelt incorrectly, or has changed? Create an issue with your request, or submit a pull request adding them.

Need more details, like the address of the branch the corresponds to institution and transit numbers? Payments Canada maintains a list of all member banks and credit unions, along with their addresses, that is updated weekly.

Related Project

wealthsimple/canadian-bank-account (Archived)
Validate transit and account numbers of common Canadian banks.