@maxmind/geoip2-node
Version:
Node.js API for GeoIP2 webservice client and database reader
17 lines (16 loc) • 633 B
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Asn_1 = __importDefault(require("./Asn"));
class Isp extends Asn_1.default {
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;
}
}
exports.default = Isp;
;