npm.io
1100.0.2 • Published 3 weeks ago

@pnpm/config.matcher

Licence
MIT
Version
1100.0.2
Deps
1
Size
6 kB
Vulns
0
Weekly
0
Stars
36.1K

@pnpm/config.matcher

A simple pattern matcher for pnpm

Install

pnpm add @pnpm/config.matcher

Usage

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

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

License

MIT

Keywords