UNPKG

domainlooker

Version:

A fast CLI and MCP server for inspecting domains: WHOIS/RDAP, DNS, SSL, ports, subdomains, with CSV/JSON export.

20 lines 680 B
import chalk from 'chalk'; import ora from 'ora'; /** Print a section heading for a block of output. */ export function heading(text) { console.log('\n' + chalk.bold.cyan(text)); console.log(chalk.dim('─'.repeat(text.length))); } /** Print a heading for a single domain report. */ export function domainHeading(domain) { const label = `Report: ${domain}`; console.log('\n' + chalk.bold(label)); console.log(chalk.dim('═'.repeat(label.length))); } export function createSpinner(text) { return ora({ text, spinner: 'dots' }); } export function printError(message) { console.error(chalk.red(`error: ${message}`)); } //# sourceMappingURL=effects.js.map