glob:简单的 globber(根据使用的规则搜索所有路径名匹配模式)

时间:2021-07-08 07:52:24
【文件属性】:
文件名称:glob:简单的 globber(根据使用的规则搜索所有路径名匹配模式)
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-08 07:52:24
JavaScript 全局 (SilexJS) 简单的 globber,根据使用的规则搜索所有匹配模式的路径名。 包拥有 。 安装 $ npm install silex-glob 用法 var glob = require ( 'silex-glob' ) ; var list = glob ( '**/*.js' , function ( filePath ) { // Reads all the files with the extension "js" // in the current folder and all subfolders (recursive) } ) ; // And the variable "list" returns an array with the list of found files 文档 glob(规则,[回调]) rules {字符串|数组|对象} 规
【文件预览】:
glob-master
----.gitignore(587B)
----package.json(805B)
----LICENSE(1KB)
----index.js(2KB)
----README.md(1KB)

网友评论