UNPKG

@maxmind/geoip2-node

Version:

Node.js API for GeoIP2 webservice client and database reader

15 lines (14 loc) 451 B
import Asn from './Asn.js'; export default class Isp extends Asn { isp; mobileCountryCode; mobileNetworkCode; organization; constructor(response, ipAddress, network) { super(response, ipAddress, network); this.isp = response.isp; this.mobileCountryCode = response.mobile_country_code; this.mobileNetworkCode = response.mobile_network_code; this.organization = response.organization; } }