A stealth web crawler for Node.js (≥20) that achieves Chrome-perfect TLS and HTTP/2 fingerprinting, making bot detection nearly impossible. v1.0.4 (April 2025) is actively maintained with weekly releases focused on stability and feature parity. It includes a browser render pool for JavaScript-heavy pages, persistent queue management, lifecycle hooks, and built-in sitemap support. Unlike Playwright or Puppeteer, CrawleX provides a higher-level orchestration layer optimized for large-scale scraping with anti-bot evasion as a core feature. Ships TypeScript types and is ESM-only. Key differentiators: automatic fingerprint rotation, adaptive throttling, and a plugin system for custom middleware.
npm install crawlexNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of CrawleX with a rendering pool, stealth mode, hooks, and progress reporting.
Upgrade Node.js to version 20 or later.
Remove 'headless' option from config. Use renderJavaScript to toggle headless browser usage.
Reduce concurrency or implement custom throttling via hooks.
Use 'import type { CrawleXResult } from 'crawlex' for type annotations.Update imports to use 'CrawlQueue' instead of 'Queue'.
Change to ESM imports: 'import crawlex from 'crawlex'' or use dynamic import() in CommonJS.
Use default import: 'import crawlex from 'crawlex''.
Set 'type': 'module' in package.json or use import syntax in .mjs files.