
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@open-tech-world/es-glob
Advanced tools
A glob pattern matching library.
✔️ * (Wildcard)
✔️ ** (Globstar)
✔️ ? (Wildcard)
✔️ […] (Brackets)
✔️ \\ (Escape Special Characters)
✔️ ! (Negation)
🚧 {,} (Brace Matching)
❌ ?(pattern-list)
❌ *(pattern-list)
❌ +(pattern-list)
❌ @(pattern-list)
❌ !(pattern-list)
❌ [:class:]
❌ Regular expression
✔️ (|) Logical OR Group
Using npm
npm install @open-tech-world/es-glob
Using Yarn
yarn add @open-tech-world/es-glob
import { matchGlob } from '@open-tech-world/es-glob';
matchGlob(str: string, pattern: string): boolean;
matchGlob('/a.json', '/*.json') // true
matchGlob('a/b/.x/c/d', '**/.x/**') // true
matchGlob('abc', 'ab?') // true
matchGlob('b', '[a-c]') // true
matchGlob('a', '[!a-c]') // false
matchGlob('b', '[^a-c]') // false
matchGlob('*.txt', '\\*.txt') // true
matchGlob('node_modules', '!node_modules') // false
matchGlob('a', '(a|b)') // true
matchGlob('config.js', '*.(js|json)') // true
matchGlob('tsconfig.json', '*.(js|json)') // true
matchGlob('index.ts', '*.(js|jsx|tsx)') // false
It matches a path in a glob pattern.
import { matchPathGlob } from '@open-tech-world/es-glob';
matchPathGlob('a', 'a/*') // true
matchPathGlob('a/b', 'a/*') // true
matchPathGlob('a/b/c', 'a/*') // false
https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html
https://en.wikipedia.org/wiki/Glob_(programming)
Copyright (c) 2021, Thanga Ganapathy (MIT License).
FAQs
A glob pattern matching library.
We found that @open-tech-world/es-glob demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.