friday-sdk
Version:
Official JavaScript/TypeScript SDK for the Friday API
12 lines (11 loc) • 367 B
TypeScript
import { APIClient } from "../client";
export interface ScrapeOptions {
formats: Array<"html" | "markdown" | "text" | "links">;
}
export interface ScrapeResponse {
html?: string;
markdown?: string;
text?: string;
links?: string[];
}
export declare const scrape: (client: APIClient, url: string, options: ScrapeOptions) => Promise<ScrapeResponse>;