This package provides TypeScript definitions for the glob-to-regexp library. It enables developers using TypeScript to leverage type safety and improved code completion when working with glob-to-regexp, which converts glob patterns into regular expressions. Proper type definitions enhance the development experience by catching type-related errors during compilation and providing better integration with IDE features. Use this package to confidently utilize glob-to-regexp within your TypeScript projects.
The @types/glob-to-regexp npm package has infrequent releases. Initial release was in June 2018 (v0.4.0). There was a release in July 2021 (v0.4.1), then a cluster of releases between September and November 2023 (v0.4.2, v0.4.3, v0.4.4). No releases have occurred since November 2023, and no releases have occurred in 2024 or 2025 so far.
@types/glob-to-regexp downloads show a strong upward trend. Starting from ~312k in March 2024, downloads grew steadily, exceeding 1.7 million in July 2025. August 2025 saw a slight dip to 1.6 million, but September 2025 shows a substantial jump to 194k, albeit incomplete data.