</>PackageGraphPackageGraph

picomatch

npmv4.0.7

Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.

Safe to adopt

Yes — picomatch scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 16 days ago. 7 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 16 days ago. 7 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 92 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 4 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding picomatch to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

92 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=12
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the picomatch README.

const pm = require('picomatch');
const isMatch = pm('*.js');

console.log(isMatch('abcd')); //=> false
console.log(isMatch('a.js')); //=> true
console.log(isMatch('a.md')); //=> false
console.log(isMatch('a/b.js')); //=> false

picomatch vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
picomatchthis page013MIT16 days ago
is-glob137.4M3MIT1 day ago
is-extglob01MIT1 day ago
anymatch01ISC1 day ago
globule01MIT1 day ago
fast-glob135.1M8MIT1 day ago

Dependencies

Declared by picomatch v4.0.7. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (5)

eslint ^8.57.0fill-range ^7.0.1gulp-format-md ^2.0.0mocha ^10.4.0nyc ^15.1.0

Used by

Popular packages that depend on picomatch.

vitenpm

Native-ESM powered web dev build tool

158.6M/wk26 dependentsMIT
@rolldown/pluginutilsnpm

Plugin utilities for Rolldown

132.4M/wk1 dependentsMIT
jest-utilnpm

This packages is a collection of utilities and helper functions

104M/wk23 dependentsMITTS
vitestnpm

Next generation testing framework powered by Vite

92.7M/wk129 dependentsMITTS
jest-message-utilnpm

No description provided.

75.7M/wk9 dependentsMITTS
@parcel/watchernpm

A native C++ Node module for querying and subscribing to filesystem events. Used by Parcel 2.

24.8M/wk2 dependentsMITTS
fdirnpm

The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s

0/wk3 dependentsMITTS
jest-haste-mapnpm

`jest-haste-map` is a module used by Jest, a popular JavaScript testing framework, to create a fast lookup of files in a project. It helps Jest efficiently locate and track changes in files during testing, making it particularly useful for large projects

0/wk8 dependentsMITTS
anymatchnpm

Matches strings against configurable strings, globs, regular expressions, and/or functions

0/wk1 dependentsISCTS
@expo/metro-confignpm

A Metro config for running React Native projects with the Metro bundler

0/wk3 dependentsMITTS
@expo/clinpm

The Expo CLI

0/wk2 dependentsMIT
@vitejs/devtools-oxcnpm

DevTools for the Oxc toolchain

0/wk1 dependentsMITTS
tinyglobbynpm

A fast and minimal alternative to globby and fast-glob

0/wk8 dependentsMITTS

Relationship graph

Dependencies (left) and dependents (right) of picomatch.

Frequently installed together

Release history

7 releases in the last two years, typically about 53 days apart.

Recent versions of picomatch
VersionPublishedSizeLicense
4.0.7latest16 days ago92 KBMIT
4.0.616 days ago91 KBMIT
4.0.52 months ago91 KBMIT
4.0.45 months ago89 KBMIT
3.0.25 months ago90 KBMIT
2.3.25 months ago88 KBMIT
4.0.31 year ago83 KBMIT
4.0.22 years ago83 KBMIT
4.0.12 years ago83 KBMIT
4.0.02 years ago83 KBMIT
3.0.12 years ago83 KBMIT
3.0.02 years ago83 KBMIT
2.3.14 years ago88 KBMIT
2.3.05 years ago87 KBMIT
2.2.35 years ago85 KBMIT

Overview

picomatch is an npm package that blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. It has 13 known dependents in the graph. The latest version is 4.0.7, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use picomatch?

Yes — picomatch scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 16 days ago. 7 releases in the last 2 years.

How do I install picomatch?

Run `npm install picomatch` to add picomatch to your npm project.

What license is picomatch released under?

picomatch is distributed under the MIT license.

How popular is picomatch?

npm does not publish download counts. Within PackageGraph's crawl, 13 known packages depend on picomatch.

Is picomatch still maintained?

The most recent release of picomatch (v4.0.7) was published 16 days ago.

Does picomatch run install scripts?

No. picomatch does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.