gatsby-source-filesystem-with-queue

JSON →
library 5.3.1 ·javascript
verified Jun 7, 2026

A Gatsby source plugin for sourcing local files into a Gatsby application, identical in usage to gatsby-source-filesystem but with an asynchronous queue that limits concurrent file reads to prevent EMFILE errors on large sites. Version 5.3.1 requires Node >=18 and Gatsby ^5.0.0-next. Key differentiator: configurable concurrent file limit (default 800) via GATSBY_CONCURRENT_FILES environment variable, and concurrent download limit (default 200) via GATSBY_CONCURRENT_DOWNLOAD. Ships TypeScript types. Maintains full compatibility with transformer plugins like gatsby-transformer-remark and gatsby-transformer-json. Only difference from upstream is the queuing mechanism; all options, helper functions (createFilePath, createRemoteFileNode, createFileNodeFromBuffer), and query patterns are identical.