llm-scraper
LLM Scraper is a versatile TypeScript library designed to facilitate the extraction of structured data from any webpage using Large Language Models (LLMs). Compatible with multiple providers such as local platforms like Ollama and remote services including OpenAI and Vercel AI SDK, it ensures robust versatility. The library integrates features like schema definitions via Zod, type safety with TypeScript, and various data formatting modes including HTML, markdown, text, and image. It operates on the Playwright framework and incorporates a new code-generation capability for reusable scripts, along with support for streaming data. A valuable tool for developers focused on efficient web scraping.