🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

bank-routing-number-validator

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bank-routing-number-validator

Validates ABA Routing Numbers

0.0.4
latest
Version published
Weekly downloads
4.4K
-21.25%
Maintainers
1
Weekly downloads
 
Created

Summary

Validates Bank Routing Numbers

  • Checks the first two digits against the allowed ranges
  • Run the checksum algorithm on the last digit

See https://en.wikipedia.org/wiki/Routing_transit_number

Install

$ npm install bank-routing-number-validator

Usage

brnv = require('bank-routing-number-validator')

brnv.ABARoutingNumberIsValid('abcdabcde') //false
brnv.ABARoutingNumberIsValid('1234567890') //false
brnv.ABARoutingNumberIsValid('021000021') //true
brnv.ABARoutingNumberIsValid(021000021) //true

FAQs

Package last updated on 03 Apr 2017

Did you know?

Socket

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.

Install

Related posts