@pnpm/matcher

A simple pattern matcher for pnpm

Usage no npm install needed!

<script type="module">
  import pnpmMatcher from 'https://cdn.skypack.dev/@pnpm/matcher';
</script>

README

@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