Package
glob-parent
Extract the non-magic parent path from a glob string.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 248.9m
- +90% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 4 years ago
- v6.0.2
- GitHub stars
- 82
- 51 forks
- Open issues / PRs
- 3 / 1
- Contributors
- 10
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
248,932,187 downloads last week, 1,179,893,810 in the last month. The 12-month change of +90% 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
- 6.0.2, 29 Sept 20214 years ago
- First published
- 12 Jan 2015
- Last push to GitHub
- 26 Jul 2024790 days before the snapshot
- Repository archived
- No
- Open issues
- 3
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 2,578
Major versions
- v6 first release 6.0.0, 3 May 2021
- v5 first release 5.0.0, 29 Mar 2019
- v4 first release 4.0.0, 27 Mar 2019
- v3 first release 3.0.0, 6 Sept 2016
- v2 first release 2.0.0, 18 Sept 2015
- v1 first release 1.0.0, 12 Jan 2015
Recent releases
| Version | Published |
|---|---|
| 6.0.2 | 29 Sept 2021 |
| 6.0.1 | 20 Jul 2021 |
| 6.0.0 | 3 May 2021 |
| 5.1.2 | 6 Mar 2021 |
| 5.1.1 | 21 Mar 2020 |
| 5.1.0 | 21 Sept 2019 |
| 5.0.0 | 29 Mar 2019 |
| 4.0.0 | 27 Mar 2019 |
| 3.1.0 | 14 Dec 2016 |
| 3.0.1 | 18 Oct 2016 |
| 3.0.0 | 6 Sept 2016 |
| 2.0.0 | 18 Sept 2015 |
| 1.3.0 | 18 Sept 2015 |
| 1.2.0 | 4 Mar 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=10.13.0
- Runtimes
- -
- Unpacked size (npm)
- 7.5 kB
- Dependencies (1)
is-glob
npm install glob-parent- jsDelivr
https://cdn.jsdelivr.net/npm/glob-parent@6.0.2/ - unpkg
https://unpkg.com/glob-parent@6.0.2/ - esm.sh
https://esm.sh/glob-parent@6.0.2
Indexability: Indexed.