Files
pnpm/packages/matcher/README.md
Zoltan Kochan 59759f7c6f feat: new matching pattern
BREAKING CHANGE:

new wildcard matcher used

close #2048
PR #2052
2019-10-05 20:54:07 +03:00

266 B

@pnpm/matcher

A simple pattern matcher for pnpm

Install

<pnpm|yarn|npm> add @pnpm/matcher

Usage

import matcher from '@pnpm/matcher'

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

License

MIT