qmetrics.net

minimatch

JavaScript glob path matcher used by node-glob

Frameworks & PlatformsDesktop/CLI app
minimatch screenshot

minimatch is a JavaScript library that tests file paths against glob patterns. It splits patterns on slashes and matches each segment without converting untrusted patterns into regular expressions vulnerable to ReDoS.

Overview

The library underpins globbing in the Node ecosystem and exposes a main minimatch function, a Minimatch class, filter helpers for arrays, and escape/unescape utilities. Patterns support brace expansion, extended globs, globstars, negation, and POSIX character classes with Unicode-aware alpha matching.

Matching logic relies on a dedicated non-recursive matcher rather than regex compilation from user input, addressing pathological backtracking risks seen in older glob implementations. Documentation still warns that pattern matchers fed untrusted user input need careful threat modeling.

Windows paths receive special handling for UNC paths, drive letters, and case rules, while glob expressions themselves should use forward slashes. Numerous options control dotfile matching, case folding, partial path tests, magic detection, and compatibility with path.join-style Windows patterns.

Consumers integrate via require or ES module import in Node and bundler environments. The API mirrors fnmatch-style list matching and caches recently used compiled patterns for repeated tests against many files.

Key features

  • Glob pattern path matching
  • Brace expansion and extglobs
  • Globstar and POSIX classes
  • Negated and comment patterns
  • Windows UNC path rules
  • Filter and match list helpers
  • Pattern escape and unescape
  • Non-regex matcher core

Use cases

  • Build tool file filtering
  • gitignore-style matching
  • Directory walk filtering
  • npm package include rules
  • User-supplied pattern APIs

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT