@techor/glob
v3.0.23
Published
A human-friendly set of glob utilities
Downloads
522
Maintainers
Readme
Getting Started
npm install @techor/glob
Usage
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']
Options
Inherited from fast-glob options