Clearing numbers for Swedish banks
npm install @opendevtools/clearingnummer

Sort codes, _clearingnummer_ in Swedish, are four or five digit identifiers for Swedish banks. This package helps you find the bank related to a specific number. All clearing numbers are taken from Wikipedia and Swedish Bankers Association.
```
npm install @opendevtools/clearingnummer
#### bankName()
`js`
bankName(string | number): string
Retrieve bank name for a given number
##### Example
`js
import clearingnummer from '@opendevtools/clearingnummer'
clearingnummer.bankName(5202)
// 'SEB'
`
#### clearingNumbers()
`js`
clearingNumbers(string): { min: string | number, max: string | number }[]
Retrieve clearing numbers for a given bank name
##### Example
`js
import clearingnummer from '@opendevtools/clearingnummer'
clearingnummer.clearingNumbers('Ålandsbanken')
/*
[{
"min": 2310,
"max": 2310
}]
*/
`
#### allBanks
`js`
allBanks(): string[]
Retrieve the names of all banks in the listing
`js
import clearingnummer from '@opendevtools/clearingnummer'
clearingnummer.allBanks()
/*
[
'ABN AMRO',
'Avanza Bank'
...
]
*/
`
```
npm test
Thanks goes to these wonderful people (emoji key):
Rickard Natt och Dag 🐛 💻 📖 👀 | Fredrik Ohlin 💻 | Ivan Kustera 💻 | Ben McKernan 💻 | mp-horm 💻 | Oscar Linderholm 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!