UNPKG

@maxmind/geoip2-node

Version:

Node.js API for GeoIP2 webservice client and database reader

9 lines (8 loc) 310 B
import * as mmdb from 'maxmind'; import { ConnectionType as ConnType } from '../types.js'; export default class ConnectionType { readonly connectionType: ConnType; ipAddress?: string; network?: string; constructor(response: mmdb.ConnectionTypeResponse, ipAddress?: string, network?: string); }