glob-parent extracts the parent directory from a glob pattern. It's essential for tools needing to understand the base path a glob represents, before globbing. This is useful for tasks like determining where to save files based on globbed sources, or optimizing filesystem operations. It handles various glob features like brace expansions, character classes, and extended globs, accurately identifying the non-glob portion of the path. Reliable and widely used, it's a fundamental utility for many build tools and task runners.
Glob-parent downloads show a generally upward trend from March 2024 to July 2025. Downloads peaked in June 2025 at over 667 million. August 2025 saw a decrease. September 2025 downloads are incomplete, showing a significant drop, likely due to the month not being finished.
The npm package glob-parent has seen sporadic releases since January 2015. There were bursts of activity in 2015, 2016, and 2019-2021, including major version updates (2.0.0, 3.0.0, 4.0.0, 5.0.0, and 6.0.0). However, the package has had no releases since September 2021, with a long period of inactivity from 2022 to August 2025.