
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
bankcard-parser
Advanced tools
银行号码解析器,根据号码判断所属银行。
var parser = require('bankcard-parser');
console.log(parser.get('6228480402564890018'));
// { success: true, data: { org: '银联', bank: '所属银行', type: '银行卡类型', locale: '开户地' } }
console.log(parser.get('622848040256489001'));
// { success: false, message: '卡号长度不是19位' }
通常,银行卡卡号的前六位是用来表示发卡银行或机构的,称为发卡行识别码( Bank Identification Number ,缩写为 BIN )
目前,由中国银联各成员机构发行的银联标准卡 BIN 是“ 62 ”字头的。
支付宝有银行卡号自动识别银行卡类型的功能。
FAQs
We found that bankcard-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.