// src/lib/match.ts
import { minimatch } from "minimatch";
function makeMatcher(pattern, options = {}) {
  const patterns = Array.isArray(pattern) ? pattern : [pattern];
  return (input) => patterns.some((p) => minimatch(input, p, options));
}
function isMatch(input, pattern, options = {}) {
  return makeMatcher(pattern, options)(input);
}
export {
  isMatch,
  makeMatcher
};
//# sourceMappingURL=match.mjs.map
