Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cityssm/get-canadian-bank-name

A simple library to translate Canadian bank institution and transit numbers into the corresponding bank names.
https://github.com/cityssm/get-canadian-bank-name

bank branch-number canada institution-number transit-number validation

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Get Canadian Bank Name

[![npm (scoped)](https://img.shields.io/npm/v/@cityssm/get-canadian-bank-name)](https://www.npmjs.com/package/@cityssm/get-canadian-bank-name)
[![DeepSource](https://app.deepsource.com/gh/cityssm/get-canadian-bank-name.svg/?label=active+issues&show_trend=true&token=ACpR-NrF6n4gocX43YsQtz5M)](https://app.deepsource.com/gh/cityssm/get-canadian-bank-name/)
[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/cityssm/get-canadian-bank-name)](https://codeclimate.com/github/cityssm/get-canadian-bank-name)
[![codecov](https://codecov.io/gh/cityssm/get-canadian-bank-name/graph/badge.svg?token=27K4BKDL15)](https://codecov.io/gh/cityssm/get-canadian-bank-name)

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

## Installation

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

## Usage

```javascript
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](https://saultstemarie.ca/).
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](https://github.com/cityssm/get-canadian-bank-name/issues/new)
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](https://www.payments.ca/our-directories/financial-institutions-branch-directory)
of all member banks and credit unions, along with their addresses,
that is updated weekly.

## Related Project

**[wealthsimple/canadian-bank-account](https://github.com/wealthsimple/canadian-bank-account)** (Archived)

Validate transit and account numbers of common Canadian banks.