glob
Also written: glob pattern
A function in `node:fs/promises` that finds files whose names match a pattern, where `*` matches any run of characters. `glob("data/*.json")` finds every JSON file in `data`.
Also written: glob pattern
A function in `node:fs/promises` that finds files whose names match a pattern, where `*` matches any run of characters. `glob("data/*.json")` finds every JSON file in `data`.