npm.io
1000.1.0 • Published 9 months ago

@pnpm/matcher

Licence
MIT
Version
1000.1.0
Deps
1
Size
9 kB
Vulns
0
Weekly
0
Stars
35.7K

@pnpm/matcher

A simple pattern matcher for pnpm

Install

pnpm add @pnpm/matcher

Usage

import { createMatcher } from '@pnpm/matcher'

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

License

MIT

Keywords