UNPKG

bankcode-bic

Version:

Convert bank codes from IBAN to BICs, Name of bank. Currently supports only some selected EU countries.

15 lines (14 loc) 519 B
import { CacheType } from "./cache.js"; //#region src/libs/cache.browser.d.ts declare function hashKey(key: string): Promise<string>; declare class LocalStorageCache implements CacheType { private localStorage; constructor(win?: { localStorage: Storage; }); get(key: string, transformer?: (data: any) => any): Promise<any | null>; set(key: string, value: any, ttlMs: number, transformer?: (data: any) => any): Promise<void>; clear(): Promise<void>; } //#endregion export { LocalStorageCache, hashKey };