ts-web-scraper
Version:
A powerful web scraper for both static and client-side rendered sites using only Bun native APIs
8 lines • 374 B
TypeScript
import type { ScraperConfig } from './types';
/**
* Get configuration value with fallback to default
*/
export declare function getConfig<K extends keyof ScraperConfig>(key: K, override?: ScraperConfig[K]): ScraperConfig[K];
export declare const defaultConfig: ScraperConfig;
// eslint-disable-next-line antfu/no-top-level-await
export declare const config: ScraperConfig;