workerd
workerd copied to clipboard
nodejs compat: implement fs.glob
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.