CoolFace
Apppublic

Pinsave/counterstrike

sourceHugging Faceupdated 3mo agoView on Hugging Face
1likes
index.js18 linesDownload Raw Back to picomatch
1'use strict';2 3const pico = require('./lib/picomatch');4const utils = require('./lib/utils');5 6function picomatch(glob, options, returnState = false) {7  // default to os.platform()8  if (options && (options.windows === null || options.windows === undefined)) {9    // don't mutate the original options object10    options = { ...options, windows: utils.isWindows() };11  }12 13  return pico(glob, options, returnState);14}15 16Object.assign(picomatch, pico);17module.exports = picomatch;18