0.1.10 • Published 4 years ago

mxn-banks v0.1.10

Weekly downloads
2
License
-
Repository
github
Last release
4 years ago

mxn-banks Build Status

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.

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago