mxn-banks

    0.1.10 • Public • Published

    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.

    Keywords

    none

    Install

    npm i mxn-banks

    DownloadsWeekly Downloads

    2

    Version

    0.1.10

    License

    none

    Unpacked Size

    64.1 kB

    Total Files

    14

    Last publish

    Collaborators

    • aldosolorzano
    • genaromadrid