Package
is-glob
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 152.5m
- +87% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 4 years ago
- v4.0.3
- GitHub stars
- 96
- 12 forks
- Open issues / PRs
- 1 / 1
- Contributors
- 7
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
152,545,777 downloads last week, 672,942,539 in the last month. The 12-month change of +87% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 016 in total
- Latest version
- 4.0.3, 29 Sept 20214 years ago
- First published
- 18 Dec 2014
- Last push to GitHub
- 29 Dec 20221,365 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 2,868
Major versions
- v4 first release 4.0.0, 7 Aug 2017
- v3 first release 3.0.0, 3 Sept 2016
- v2 first release 2.0.0, 6 May 2015
- v1 first release 1.0.0, 13 Jan 2015
- v0 first release 0.1.0, 18 Dec 2014
Recent releases
| Version | Published |
|---|---|
| 4.0.3 | 29 Sept 2021 |
| 4.0.2 | 26 Sept 2021 |
| 4.0.1 | 27 Mar 2019 |
| 4.0.0 | 7 Aug 2017 |
| 3.1.0 | 12 Oct 2016 |
| 3.0.0 | 3 Sept 2016 |
| 2.0.1 | 2 Oct 2015 |
| 2.0.0 | 6 May 2015 |
| 1.1.3 | 4 Mar 2015 |
| 1.1.2 | 4 Mar 2015 |
| 1.1.1 | 20 Feb 2015 |
| 1.1.0 | 16 Jan 2015 |
| 1.0.0 | 13 Jan 2015 |
| 0.3.0 | 24 Dec 2014 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- 13 kB
- Dependencies (1)
is-extglob
npm install is-glob- jsDelivr
https://cdn.jsdelivr.net/npm/is-glob@4.0.3/ - unpkg
https://unpkg.com/is-glob@4.0.3/ - esm.sh
https://esm.sh/is-glob@4.0.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| is-invalid-path | 1.8m | - | 8 years ago | CommonJS | - |
| globby | 73.3m | - | 1 month ago | ESM only | - |
| globrex | 24.5m | - | 7 years ago | CommonJS | - |
| fast-glob | 114.5m | - | 1 year ago | CommonJS | - |
| dir-glob | 43.1m | - | 7 years ago | - | - |
| find-file-up | 3.4m | - | 8 years ago | CommonJS | - |
Indexability: Indexed.