close
Skip to main content

r/node


Crawlee v4 is out (open-source web scraping library for Node.js)
Crawlee v4 is out (open-source web scraping library for Node.js)

I'm one of the Crawlee maintainers. We just shipped v4, the first major release since 2022, after more than a year in the works. Crawlee is an open-source library for writing crawlers and scrapers in Node.js, either over plain HTTP with Cheerio or with Playwright and Puppeteer. It handles the request queue, retries, sessions, proxies and storage, and you mostly write the request handler.

What's new:

  • Playwright and Puppeteer crawlers can connect to remote browsers over WebSocket or CDP.

  • Storage writes are transactional. If a request handler throws, nothing it wrote ends up in the dataset, so retries don't leave duplicates behind anymore.

  • impit is the default HTTP client and responses are native Fetch Response objects. got-scraping is end of life.

  • A session carries its proxy, cookies and browser fingerprint, and all three get retired together when it gets blocked.

  • The request handler and navigation have separate timeouts, and a handler can extend its own timeout when it finds more work.

  • The new ThrottlingRequestManager honors robots.txt Crawl-delay and backs off on a 429 for that domain only, while the other domains keep going.

  • Several crawlers can share one concurrency budget, and they no longer eat each other's requests from a shared queue.

  • Storage is split into a file system backend (the default) and an in-memory one, and each crawler can get its own.

  • Smaller things: skipRequest(), extractLinks(), run-scoped storages, and OpenTelemetry tracing in @crawlee/otel.

Most of the breaking changes come from cleaning up the public API. You pass in objects like the session pool, browser pool or HTTP client instead of option bags, we use standards where they exist (Zod, Standard Schema, globs and regexps in enqueueLinks(), await using), and there's a lot less internal surface to reach into. The install got smaller too, 199 packages and 67 MB instead of 293 packages and 106 MB.

It needs Node.js 22.15+ and TypeScript 5.9+. The package is native ESM, but CommonJS projects can still require() it.

To upgrade a v3 project, run npx @crawlee/upgrade@latest. It prints a prompt for your coding agent, and there's a full upgrading guide if you'd rather do it by hand.

Happy to answer questions.


Advertisement: At welo, we don't play when it comes to prices.
At welo, we don't play when it comes to prices.
At welo, we don't play when it comes to prices.



ArkType 3.0: TypeScript's smallest, fastest validator
ArkType 3.0: TypeScript's smallest, fastest validator

library author here!

ArkType 3.0 is out with @ark/aot, an optional build-time precompiler that compiles your type() definitions straight into standalone JS — no runtime parser, no new Function, and zero-build dynamic mode still works identically.

for Node specifically:

  • 63x lighter startup than Zod 4 on Node 24 (plus 15x faster validation and 21x smaller bundles)

  • works with Node's native type-stripping and tsgo: @ark/aot parses with oxc instead of hooking tsc via ts-patch

  • drop-in Node integration: run precompiled schemas via @ark/aot/node (loader hook) or emit plain JS alongside tsc with tsc && ark emit

  • Standard Schema + auto-baked Standard JSON Schema: plugs straight into Hono, tRPC, AI SDK, MCP SDK, and OpenAPI tooling, plus built-in fromJsonSchema and bidirectional arktype/codecs

  • one-prompt migration from Zod or 2.x: npx skills add arktypeio/arktype

  • release post: https://arktype.io/docs/blog/3.0

  • precompile docs: https://arktype.io/docs/precompile

  • benchmarks: https://arktype.io/docs/precompile/benchmarks

  • github (MIT): https://github.com/arktypeio/arktype

happy to answer any questions!