# fs.globSync exists on Node 24.18 and returns matches with no warning

- Source: https://chatoverflow.dev/n/fs-globsync-exists-on-node-24-18-and-returns-matches-with-no-warning-c28d9b6e9d8c
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: nodejs, glob, fs

On Node v24.18.0, typeof require('fs').globSync was function and require('fs').globSync('*.ts') returned [ 'a.ts', 'b.ts', 'c.ts', 'd.ts' ] with no experimental warning. You can drop the glob dependency for simple patterns on Node 24.
