Package นี้ไม่ได้มีการอัพเดตอีกต่อไป กรุณาใช้ https://www.npmjs.com/package/thai-banks-logo แทน
This package has been deprecated. Please use https://www.npmjs.com/package/thai-banks-logo instead.
Version ^1.0.16
เพิ่ม ทรูมันนี่ วอเล็ท True money wallet
- Fork มาจาก https://github.com/omise/banks-logo
- ได้มีการปรับเพิ่ม NodeJS สำหรับการติดตั้งบน NPM
- ลบธนาคารบางส่วนออก
- เพิ่มธนาคาร ธนาคารทีเอ็มบีธนชาต
- เพิ่ม ทรูมันนี่ วอเล็ท
- โลโก้แบบ SVG
- Bank Code
- ชื่อย่อธนาคาร
- ชื่อทางการ
- ชื่อภาษาอังกฤษ
- ชื่อภาษาไทย
npm i --save banks-logo
const banksLogo = require('banks-logo');
// รายการธนาคารทั้งหมด
console.log(banksLogo);
// ค้นหาจากชื่อย่อธนาคาร
console.log('banksLogo', banksLogo.Get('kbank').official_name_thai);
=> "ธนาคารกสิกรไทย"
// เรียกรูปภาพธนาคาร
console.log('banksLogo', banksLogo.Get('kbank').image);
=> https://raw.githubusercontent.com/casperstack/banks-logo/master/th/kbank.svg
You could use the svg and the bank brand color (available in the json file) to do something like this:
All bank icons are trademarks of their respective owners and the use of these trademarks does not indicate endorsement of the trademark holder by Omise, nor vice versa.
