UNPKG

@stacksjs/dnsx

Version:

A command-line & library DNS client. Like dig & dog, but for TypeScript.

12 lines (11 loc) 299 B
import type { DnsResponse } from './types'; export declare function formatOutput(responses: DnsResponse[], options: OutputOptions): string; export declare interface OutputOptions { json: boolean short: boolean showDuration?: number colors: { enabled: boolean } rawSeconds: boolean }