Back to Pnpm

@pnpm/config.matcher

config/matcher/README.md

11.0.6291 B
Original Source

@pnpm/config.matcher

A simple pattern matcher for pnpm

Install

pnpm add @pnpm/config.matcher

Usage

ts
import { createMatcher } from '@pnpm/config.matcher'

const match = createMatcher(['eslint-*'])
match('eslint-plugin-foo')
//> true

License

MIT