matcher-cjs
v1.0.1
Published
A CommonJS Version of matcher
Downloads
3
Readme
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
withimport
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*"))