Skip to content

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.

Update prePublish safety check

Ondra Urban50ca17e7a607
diff --git a/package.json b/package.json
index 6f8faf767..24d7410cb 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,7 @@
"build-readme": "node ./tools/build_readme.js",
"test": "npm run build && jest --testTimeout=20000 --maxWorkers=3 --silent",
"prepare": "npm run build",
- "prepublishOnly": "(test $TRAVIS || (echo \"Publishing is reserved to the Travis CI!\"; exit 1))",
+ "prepublishOnly": "(test $CI || (echo \"Publishing is reserved to CI!\"; exit 1))",
"clean": "rm -rf ./build ./types",
"lint": "eslint ./src ./test",
"lint:fix": "eslint ./src ./test --ext .js,.jsx --fix"