UNPKG

@maxmind/geoip2-node

Version:

Node.js API for GeoIP2 webservice client and database reader

13 lines (12 loc) 399 B
export default class Asn { autonomousSystemNumber; autonomousSystemOrganization; ipAddress; network; constructor(response, ipAddress, network) { this.autonomousSystemNumber = response.autonomous_system_number; this.autonomousSystemOrganization = response.autonomous_system_organization; this.ipAddress = ipAddress; this.network = network; } }