$ npm install @pnpm/config.matcher
A simple pattern matcher for pnpm
pnpm add @pnpm/config.matcher
import { createMatcher } from '@pnpm/config.matcher'
const match = createMatcher(['eslint-*'])
match('eslint-plugin-foo')
//> true
© 2010 - cnpmjs.org x YWFE | Home | YWFE