微匹配:高度优化的通配符和全局匹配库。 更快,直接替换到minimatch和multimatch。 由webpack,babel core,yarn,jest,浏览器同步,documentation.js,stylelint,nyc,ava和许多其他文件使用!-源码

上传者: 42099942 | 上传时间: 2021-01-30 20:08:35 | 文件大小: 106KB | 文件类型: ZIP
微匹配 javascript / node.js的全局匹配。 迷你匹配和多重匹配的替代品和更快的替代品。 请考虑关注该项目的作者 ,并考虑为该项目以显示您的 :red_heart_selector: 和支持。 目录 细节 安装 使用安装: $ npm install --save micromatch 快速开始 const micromatch = require ( 'micromatch' ) ; // micromatch(list, patterns[, options]); 包含字符串列表和一个或多个glob模式: console . log ( micromatch ( [ 'foo' , 'bar' , 'baz' , 'qux' ] , [ 'f*' , 'b*' ] ) ) //=> ['foo', 'bar', 'baz'] console . log ( micromatch ( [ 'foo' , 'bar' , 'baz' , 'qux' ] , [ '*' , '!b*' ] ) ) //=> ['foo', 'qux'] 使用进行布尔匹配:

文件下载

资源详情

[{"title":"( 74 个子文件 106KB ) 微匹配:高度优化的通配符和全局匹配库。 更快,直接替换到minimatch和multimatch。 由webpack,babel core,yarn,jest,浏览器同步,documentation.js,stylelint,nyc,ava和许多其他文件使用!-源码","children":[{"title":"micromatch-master","children":[{"title":".eslintrc.json <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 99B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 13.34KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"bench","children":[{"title":"package.json <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"first-match-minimatch.js <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"load-time.js <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"glob-parent.js <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"first-match-micromatch.js <span style='color:#111;'> 152B </span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"contributing.md <span style='color:#111;'> 5.12KB </span>","children":null,"spread":false},{"title":"issue_template.md <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"FUNDING.yml <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"pull_request_template.md <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":true},{"title":".verb.md <span style='color:#111;'> 21.88KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"option-onResult.js <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"option-onIgnore.js <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"option-ignore.js <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"option-expandRange.js <span style='color:#111;'> 568B </span>","children":null,"spread":false},{"title":"micromatch.braces.js <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"option-onMatch.js <span style='color:#111;'> 436B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 36.97KB </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"extglobs-minimatch.js <span style='color:#111;'> 65.69KB </span>","children":null,"spread":false},{"title":"api.isMatch.js <span style='color:#111;'> 22.26KB </span>","children":null,"spread":false},{"title":"braces-compiled.js <span style='color:#111;'> 13.95KB </span>","children":null,"spread":false},{"title":"globstars.js <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"api.matchKeys.js <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"bash.spec.js <span style='color:#111;'> 13.46KB </span>","children":null,"spread":false},{"title":"micromatch.js <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false},{"title":"issue-related.js <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"api.braceExpand.js <span style='color:#111;'> 477B </span>","children":null,"spread":false},{"title":"api.some.js <span style='color:#111;'> 545B </span>","children":null,"spread":false},{"title":"braces.js <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false},{"title":"regex-features.js <span style='color:#111;'> 6.75KB </span>","children":null,"spread":false},{"title":"api.match.js <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"bash.js <span style='color:#111;'> 10.81KB </span>","children":null,"spread":false},{"title":"options.js <span style='color:#111;'> 16.03KB </span>","children":null,"spread":false},{"title":"api.capture.js <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"dotfiles.js <span style='color:#111;'> 15.41KB </span>","children":null,"spread":false},{"title":"special-characters.js <span style='color:#111;'> 7.63KB </span>","children":null,"spread":false},{"title":"api.contains.js <span style='color:#111;'> 13.88KB </span>","children":null,"spread":false},{"title":"api.all.js <span style='color:#111;'> 802B </span>","children":null,"spread":false},{"title":"api.parse.js <span style='color:#111;'> 644B </span>","children":null,"spread":false},{"title":"extglobs.js <span style='color:#111;'> 74.01KB </span>","children":null,"spread":false},{"title":"bash","children":[{"title":"dotglob.txt <span style='color:#111;'> 557B </span>","children":null,"spread":false},{"title":"globstar.txt <span style='color:#111;'> 637B </span>","children":null,"spread":false},{"title":"glob.txt <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":false},{"title":"api.makeRe.js <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"negation.js <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false},{"title":"api.matcher.js <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false},{"title":"extglobs-bash.js <span style='color:#111;'> 75.75KB </span>","children":null,"spread":false},{"title":"qmarks.js <span style='color:#111;'> 5.65KB </span>","children":null,"spread":false},{"title":"_patterns.js <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"api.braces.js <span style='color:#111;'> 573B </span>","children":null,"spread":false},{"title":"_fixtures.js <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"stars.js <span style='color:#111;'> 13.61KB </span>","children":null,"spread":false},{"title":"minimatch.js <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"dotglob.txt <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"negation <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"globstar.txt <span style='color:#111;'> 637B </span>","children":null,"spread":false},{"title":"extglob <span style='color:#111;'> 7.96KB </span>","children":null,"spread":false},{"title":"patterns.js <span style='color:#111;'> 8.26KB </span>","children":null,"spread":false},{"title":"glob.txt <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"api.not.js <span style='color:#111;'> 5.24KB </span>","children":null,"spread":false},{"title":"posix-classes.js <span style='color:#111;'> 17.08KB </span>","children":null,"spread":false},{"title":"api.every.js <span style='color:#111;'> 605B </span>","children":null,"spread":false},{"title":"malicious.js <span style='color:#111;'> 941B </span>","children":null,"spread":false}],"spread":false},{"title":".editorconfig <span style='color:#111;'> 215B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明