Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
Fixing docs
Marek Trunkatb83fc510a330
diff --git a/src/utils.js b/src/utils.jsindex 30992f7b7..78d8db9f4 100644--- a/src/utils.js+++ b/src/utils.js@@ -123,7 +123,7 @@ export const isDocker = (forceReset) => {/*** Sums an array of numbers.*- * @param {[Number]} arr An array of numbers.+ * @param {Array} arr An array of numbers.* @return {Number} Sum of the numbers.** @ignore@@ -133,7 +133,7 @@ export const sum = arr => arr.reduce((total, c) => total + c, 0);/*** Computes an average of an array of numbers.*- * @param {[Number]} arr An array of numbers.+ * @param {Array} arr An array of numbers.* @return {Number} Average value.** @ignore