tinyglobby icon indicating copy to clipboard operation
tinyglobby copied to clipboard

Document differences from `globby` and other libraries

Open beeequeue opened this issue 7 months ago • 1 comments

Write a section about known missing features, bugs, and/or simple guides for people trying to move from globby, fast-glob, glob, etc.

For example:

  • tinyglobby does not currently support running globs across different windows drives
    • glob(["C:/*.js", "F:/*.js"])
    • glob(["./*.js", "../*/*.js"], { cwd: "C:/" })
  • fast-glob
    • ⚠️ Set expandDirectories: false to match fast-glob's default behavior
  • glob
    • windowsPathsNoEscape: you will need to escape windows slashes, tinyglobby does not support windows backslashes

beeequeue avatar May 08 '25 16:05 beeequeue

The main one I've run into with glob is https://github.com/SuperchupuDev/tinyglobby/issues/97

benmccann avatar May 25 '25 16:05 benmccann

added initial documentation at https://superchupu.dev/tinyglobby/comparison. bugs (aka non-intentional differences), like the windows drives thing are intentionally not documented though

SuperchupuDev avatar Sep 05 '25 18:09 SuperchupuDev

bugs (aka non-intentional differences), like the windows drives thing are intentionally not documented though

Should a separate issue be opened for the Windows drive thing, since it is in fact a bug?

valadaptive avatar Sep 30 '25 01:09 valadaptive

it's already open 👍 #135

SuperchupuDev avatar Sep 30 '25 05:09 SuperchupuDev