@cityssm/get-canadian-bank-name
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Get Canadian Bank Name

npm (scoped) Code Climate maintainability codecov

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.

Package Sidebar

Install

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

Weekly Downloads

44

Version

1.0.0

License

MIT

Unpacked Size

12.6 kB

Total Files

9

Last publish

Collaborators

  • dgowans