globby:用户友好的glob匹配

时间:2021-02-04 04:19:09
【文件属性】:
文件名称:globby:用户友好的glob匹配
文件大小:17KB
文件格式:ZIP
更新时间:2021-02-04 04:19:09
nodejs javascript files patterns matching glo 用户友好的全局匹配 基于但添加了许多有用的功能。 产品特点 Promise API 多种模式 取反的模式: ['foo*', '!foobar'] 展开目录: foo → foo/**/* 支持.gitignore 安装 $ npm install globby 用法 ├── unicorn ├── cake └── rainbow const globby = require ( 'globby' ) ; ( async ( ) => { const paths = await globby ( [ '*' , '!cake' ] ) ; console . log (
【文件预览】:
globby-main
----.gitignore(39B)
----package.json(1KB)
----.npmrc(19B)
----gitignore.test.js(3KB)
----index.js(4KB)
----test.js(11KB)
----.github()
--------security.md(179B)
--------workflows()
--------funding.yml(112B)
----license(1KB)
----bench.js(2KB)
----readme.md(5KB)
----index.test-d.ts(3KB)
----stream-utils.js(677B)
----.gitattributes(19B)
----fixtures()
--------gitignore()
--------multiple-negation()
--------negative()
----.editorconfig(175B)
----gitignore.js(3KB)
----index.d.ts(6KB)

网友评论