1.0.6 • Published 5 years ago
address-ip v1.0.6
AddressIP

A simple module who get informations with an IP
Installation
$ npm i address-ip
Getting Started
/* Import the lib */
const AddressIP = require('address-ip');
/* Testing with Minecraft server IP */
new AddressIP('mc.hypixel.net').getCountry().then(console.log);
new AddressIP('mc.hypixel.net').getRegion().then(console.log);
new AddressIP('mc.hypixel.net').getCity().then(console.log);
new AddressIP('mc.hypixel.net').getLatitude().then(console.log);
new AddressIP('mc.hypixel.net').getLongitude().then(console.log);