npm install @techor/glob
explorePathSync(source: string | string[], options?: Options | undefined): string
explorePathsSync(source: string | string[], options?: Options | undefined): string[]
├── a.json
├── b.json
└── c.json
import { explorePathSync } from '@techor/glob'
explorePathSync('a.*')
// 'a.json'
explorePathSync('*.json')
// 'a.json'
explorePathsSync('*.json')
// ['a.json', 'b.json', 'c.json']
Inherited from fast-glob options