@techor/glob
v3.1.7
Published
A human-friendly set of glob utilities
Downloads
2,674
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