MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getReader

Function getReader

packages/geo/src/geo.ts:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38function getReader(): Promise<ReaderModel | null> {
39 if (!readerPromise) {
40 readerPromise = loadDatabase();
41 }
42 return readerPromise;
43}
44
45export interface GeoLocation {
46 country: string | undefined;

Callers 1

getGeoLocationFunction · 0.85

Calls 1

loadDatabaseFunction · 0.85

Tested by

no test coverage detected