Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default async function scrape(
url: string,
opts: object
): Promise {
const { data } = await scrapeIt(url, opts as ScrapeOptions)
return data
}