
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@opendevtools/clearingnummer
Advanced tools
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(string | number): string
Retrieve bank name for a given number
import clearingnummer from '@opendevtools/clearingnummer'
clearingnummer.bankName(5202)
// 'SEB'
clearingNumbers(string): { min: string | number, max: string | number }[]
Retrieve clearing numbers for a given bank name
import clearingnummer from '@opendevtools/clearingnummer'
clearingnummer.clearingNumbers('Ålandsbanken')
/*
[{
"min": 2310,
"max": 2310
}]
*/
allBanks(): string[]
Retrieve the names of all banks in the listing
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!
FAQs
Clearing numbers for Swedish banks
We found that @opendevtools/clearingnummer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.