npm.io
3.2.5 • Published 1 year ago

@techor/glob

Licence
MIT
Version
3.2.5
Deps
2
Size
7 kB
Vulns
0
Weekly
0
Stars
11

A human-friendly set of glob utilities

NPM Version NPM Version NPM package ( download / month ) Follow @mastercorg Github release actions


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


NPM Version

Keywords