Skip to content
JS
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

v4.0.3, 29 Sept 2021MITCommonJSTypes: NoneFiles and file systems
$ npm install is-glob

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
050m100m150m200mSept 2025Mar 2026Sept 2026High 192m (18 Aug 2026)Low 49.5m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v4 first release 4.0.0, 7 Aug 2017
  2. v3 first release 3.0.0, 3 Sept 2016
  3. v2 first release 2.0.0, 6 May 2015
  4. v1 first release 1.0.0, 13 Jan 2015
  5. v0 first release 0.1.0, 18 Dec 2014

Recent releases

VersionPublished
4.0.329 Sept 2021
4.0.226 Sept 2021
4.0.127 Mar 2019
4.0.07 Aug 2017
3.1.012 Oct 2016
3.0.03 Sept 2016
2.0.12 Oct 2015
2.0.06 May 2015
1.1.34 Mar 2015
1.1.24 Mar 2015
1.1.120 Feb 2015
1.1.016 Jan 2015
1.0.013 Jan 2015
0.3.024 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/is-glob@4.0.3/
  • unpkghttps://unpkg.com/is-glob@4.0.3/
  • esm.shhttps://esm.sh/is-glob@4.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
is-invalid-path1.8m-8 years agoCommonJS-
globby73.3m-1 month agoESM only-
globrex24.5m-7 years agoCommonJS-
fast-glob114.5m-1 year agoCommonJS-
dir-glob43.1m-7 years ago--
find-file-up3.4m-8 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.