Developer Builds Zero-Dependency Rust Tool to Challenge npm's 461M-Downloads/Month fast-glob

A developer created Branchcut, a single-file Rust tool with zero external dependencies, designed to replace the common multi-package glob workflow used in JavaScript projects. The tool compiles pattern matching, directory exclusions, file-type filters, and result limits into a single traversal plan, avoiding unnecessary directory crawling. Built during a Zero Dependency hackathon using only the Rust standard library, the entire tool is 2,231 lines of code and compiles to a self-contained executable of roughly 356 KiB. Its primary benchmark target is fast-glob, an npm package that averaged 461 million downloads per month between September 2025 and August 2026. The developer's goal was not to replicate fast-glob's full API, but to offer a faster, leaner alternative for the most common use case of finding, filtering, and limiting file results in one pass.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in