mxn-banks
v0.1.10
Published
Get mexican banks from IBAN
Downloads
4
Readme
mxn-banks
Get mexican banks from IBAN
Getting Started
Install the node module with: npm install mxn-banks
Install the bower package with: bower install mxn-banks
var MxnBanks = require('mxn-banks'); // nodejs
MxnBanks is defined in the window object // Bower
Examples
MxnBanks.toJson(); // "Return an array of objects with all banks."
// The isValid function calculates the control digit.
MxnBanks.isValid('002180700866064000') // True
var bank = MxnBanks.fromIban('002180700866064000');
// {number: "002", name: "Banco Nacional de México, S.A.", abbreviate: "BANAMEX"}
bank.name // "Banco Nacional de México, S.A."
bank.abbreviate // "BANAMEX"
bank.number // "002"
License
Copyright (c) 2017 aldosolorzano
Licensed under the MIT license.