UNPKG

webforai

Version:

A library that provides a web interface for AI

8 lines (7 loc) 185 B
import type { Nodes as Hast } from "hast"; export type ExtractParams = { hast: Hast; lang?: string; url?: string; }; export type Extractor = (param: ExtractParams) => Hast;