npm.io
1100.0.3 • Published 1 week ago

@pnpm/config.matcher

Licence
MIT
Version
1100.0.3
Deps
1
Size
6 kB
Vulns
0
Weekly
0

@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