Gatsby Worker Pool Utility
JSON →gatsby-worker is a utility package within the Gatsby ecosystem, currently at version `2.16.0`, designed for creating worker pools to offload CPU-intensive tasks into separate Node.js processes. Inspired by `jest-worker`, it enables efficient parallel execution, improving build times and overall performance for Gatsby sites. The package follows Gatsby's release cadence, typically aligning with major and minor Gatsby releases, which often see minor versions published every two weeks for the core framework. It provides a type-safe API, allowing developers to define worker modules with explicit function signatures using TypeScript. Key features include queuing tasks on single or all workers, robust parent-worker messaging capabilities, and granular control over worker lifecycle and environment variables. It requires Node.js versions `>=18.0.0 <26` for operation.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany