tiny-glob:超微型,可比node-glob快约350%-源码

上传者: 42152298 | 上传时间: 2021-02-28 10:04:21 | 文件大小: 37KB | 文件类型: ZIP
小球 微型且极其快速的库,可使用全局模式匹配文件和文件夹。 “ Globs”是用于匹配文件和文件夹的特定类型的模式的通用名称。 当您在shell中执行ls *.js类的东西或将src/*放入.gitignore文件时,这就是您键入的模式。 用于匹配文件名时,有时称为“通配符”。 安装 npm install tiny-glob 核心功能 :fire: 极快:比快〜350%,比 % :flexed_biceps: 强大:支持高级的globbing模式( ExtGlob ) :package: 微小的:只有〜45 LOC,具有2个小的依赖关系 :woman_and_man_holding_hands: 友好:简单易用的api :performing_arts: 跨平台:同时支持unix和Windows 用法 const glob = require ( 'tiny-glob' ) ; ( async function ( ) { let files = await glob ( 'src/*/*.{js,md}

文件下载

资源详情

[{"title":"( 46 个子文件 37KB ) tiny-glob:超微型,可比node-glob快约350%-源码","children":[{"title":"tiny-glob-master","children":[{"title":".travis.yml <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"glob.js <span style='color:#111;'> 5.14KB </span>","children":null,"spread":false},{"title":"fixtures","children":[{"title":"b.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"b.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":".a-hidden.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"a.mp3 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"deep","children":[{"title":"a","children":[{"title":"e <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"b","children":[{"title":"c","children":[{"title":"d <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"a.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"two","children":[{"title":"a.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"a.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ond","children":[{"title":"a.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":".b-hidden.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"one","children":[{"title":"b.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"a.md <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"a.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"a.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"child","children":[{"title":"a.md <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"a.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"a.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"helpers","children":[{"title":"index.js <span style='color:#111;'> 341B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"license <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 33.60KB </span>","children":null,"spread":false},{"title":"appveyor.yml <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"tiny-glob.png <span style='color:#111;'> 12.57KB </span>","children":null,"spread":false},{"title":"bench","children":[{"title":"assert.js <span style='color:#111;'> 438B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1014B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"b.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"b.md <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"dirA","children":[{"title":"bb.md <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"aa.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"bb.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"aa.md <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"cc.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"a.md <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"a.js <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"c.js <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"sync.d.ts <span style='color:#111;'> 223B </span>","children":null,"spread":false},{"title":"sync.js <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 147B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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