banks-ng
Version:
A collection of nigerian bank information
14 lines (13 loc) • 347 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBanks = void 0;
const banks_1 = require("./banks");
const getBanks = () => {
const out = [];
let i = 0;
for (const { name, logo } of banks_1.banks) {
out.push({ id: i++, name, logo });
}
return out;
};
exports.getBanks = getBanks;