New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@geekflare/api-node

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geekflare/api-node

Official Node.js / TypeScript SDK for Geekflare API

Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
102
-45.74%
Maintainers
2
Weekly downloads
 
Created
Source

@geekflare/api-node

Official Node.js / TypeScript SDK for the Geekflare API.

Installation

npm install @geekflare/api-node

Quick Start

import { GeekflareClient } from "@geekflare/api-node";

const client = new GeekflareClient({
  apiKey: "your-api-key",
});

const result = await client.ping({ url: "https://google.com" });
console.log(result);

Available Methods

MethodDescription
client.metaScrape(body)Scrape meta tags from a URL
client.webScrape(body)Scrape web page content
client.dnsRecord(body)Look up DNS records
client.screenshot(body)Take a screenshot of a URL
client.siteStatus(body)Check if a site is up or down
client.redirectCheck(body)Check redirect chain of a URL
client.brokenLink(body)Find broken links on a page
client.url2Pdf(body)Convert a URL to PDF
client.openPorts(body)Scan open ports on a host
client.tlsScan(body)Scan TLS/SSL configuration
client.loadTime(body)Test page load time
client.mixedContent(body)Check for mixed content issues
client.dnsSec(body)Check DNSSEC configuration
client.mtr(body)Perform MTR network test
client.ping(body)Ping a host
client.lighthouse(body)Run Lighthouse audit
client.search(body)Perform a web search

Configuration

const client = new GeekflareClient({
  apiKey: "your-api-key", // required
  baseUrl: "https://api.geekflare.com", // optional, defaults to this
});

Error Handling

try {
  const result = await client.ping({ url: "https://google.com" });
  console.log(result);
} catch (error) {
  console.error("API error:", error);
}

License

MIT

Keywords

geekflare

FAQs

Package last updated on 06 May 2026

Related posts