Files
pnpm/packages/matcher
2020-03-16 02:16:53 +02:00
..
2019-10-05 20:54:07 +03:00
2019-10-05 20:54:07 +03:00
2020-03-16 02:16:53 +02:00
2019-10-05 20:54:07 +03:00

@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