Socket
Socket
Sign inDemoInstall

bank-routing-number-validator

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bank-routing-number-validator

Validates ABA Routing Numbers


Version published
Weekly downloads
5.4K
decreased by-7.26%
Maintainers
1
Install size
27.7 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 03 Apr 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc