Skip to content

Replacements for fast-glob

tinyglobby

tinyglobby is a modern, lightweight alternative that provides similar functionality with better performance.

Example:

ts
import fg from 'fast-glob'
import { glob } from 'tinyglobby'

const files = await fg('**/*.ts', { 
const files = await glob('**/*.ts', { 
  cwd: process.cwd(),
  ignore: ['**/node_modules/**'],
  expandDirectories: false
})

Most options from fast-glob have direct equivalents in tinyglobby. Check the tinyglobby documentation for the complete list of supported options.

Released under the MIT License. (68c82e22)