1.0.3 • Published 3 years ago

swift-to-bank-details v1.0.3

Weekly downloads
11
License
ISC
Repository
github
Last release
3 years ago

Description

Extracts the bank details from the bank SWIFT/BIC (using database from https://github.com/PeterNotenboom/SwiftCodes) If the SWIFT is not present in the list, returns false.

Installation

npm i -s swift-to-bank-details

Usage

const banks = require("../index.js");
const swift = 'RIVEGB21CTY';
const bank = banks.extract(swift);
console.log(bank)

/* 
Will return 
{
  id: 1,
  bank: '1776 RIVERBANK LTD',
  city: 'LONDON',
  branch: '(THE CITY OF LONDON)',
  swift_code: 'RIVEGB21CTY',
  country_code: 'GB'
}
 */

SwiftCodes

Swift Codes or BIC Codes for all the Banks in the world.

All the info is grabbed from public websites.

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago