Get up and running with Waterfall-Fetch in minutes
npm install waterfall-fetch
import getHtml from "waterfall-fetch"; const url = "https://example.com"; // Basic usage const result = await getHtml(url); // Recommended usage with destructuring const { html, error, success } = await getHtml(url); if (success) { console.log(html); } else { console.error(error); }
HEADLESS // Optional NODE_ENV // Optional BROWSERLESS_API_KEY // Optional BROWSERBASE_API_KEY // Optional //unsupported (comming soon) BROWSER_SERVICE // Optional