1.0.1 • Published 1 year ago

matcher-cjs v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

matcher-cjs

A CommonJS version of matcher

For some reason, I have to use matcher in a CommonJs style. If you meet the same case, this pkg will help.

Remind: Generally, it's possible to use matcher with import in your nodejs project, see Pure ESM package, in which case, you don't need this cjs package.

Usage

const {isMatch} = require("matcher-cjs")

console.log(isMatch("unicorn", "uni*"))
1.0.1

1 year ago

1.0.0

1 year ago