workerd icon indicating copy to clipboard operation
workerd copied to clipboard

nodejs compat: implement fs.glob

Open mb21 opened this issue 2 months ago • 3 comments

The docs say:

The fs.globSync() and other glob APIs have not yet been implemented.

And when I try:

import fs from "node:fs/promises";

fs.glob("*")

I get:

Uncaught Error: The requested operation is unsupported

    at null.<anonymous> (node-internal:internal_fs_promises:437:11) in glob

Thanks for considering.

mb21 avatar Oct 26 '25 19:10 mb21