ipbulucu
v1.0.0
Published
Official Node.js & TypeScript SDK for ipbulucu.org - Free IP Geolocation, Whois, Port and Network Intelligence API
Maintainers
Readme
ipbulucu - Official Node.js SDK
High-speed, zero-dependency Node.js client for ipbulucu.org Network & IP Intelligence API.
Installation
npm install ipbulucuQuick Start
const { getIp, getWhois, checkPort } = require("ipbulucu");
// 1. Get client IP intelligence
const ipInfo = await getIp();
console.log(ipInfo.ip, ipInfo.city, ipInfo.isp);
// 2. Query TRABIS & Universal Whois
const whois = await getWhois("turktelekom.com.tr");
console.log(whois.registrar, whois.expiryDate);
// 3. Test open port
const portStatus = await checkPort("google.com", 443);
console.log(portStatus.isOpen, portStatus.responseTimeMs);