没有合适的资源?快使用搜索试试~ 我知道了~
todofinder:在目录中搜索关键字“ TODO”
共46个文件
js:42个
json:2个
gitignore:1个
需积分: 9 0 下载量 96 浏览量
2021-03-05
07:37:02
上传
评论
收藏 36KB ZIP 举报
温馨提示
todofinder.js 在文件夹(包括所有子文件夹)中的所有文件中搜索字符串“ TODO” todofinder.js将梳理关键字“ TODO”的所有实例的指定目录(或当前工作目录,如果未指定目标目录) 应该适用于大多数版本的NodeJS(已确认可与最新的稳定版本14.16.0一起使用) 通过命令行使用 通过命令行使用是通过app.js node app.js 可以传递参数来指定要搜索的目录 node app.js ./test 在您自己的代码中的用法 使用以下命令将todofinder导入代码中 const todofinder = require('./todofinder.js') 然后可以正常运行 let path = './test' let todoList = todofinder(path) console.log(todoList) 测试 通过摩卡&柴完成
资源推荐
资源详情
资源评论
收起资源包目录
todofinder-main.zip (46个子文件)
todofinder-main
.gitignore 24B
app.js 396B
todofinder.js 2KB
package.json 391B
package-lock.json 62KB
README.md 1KB
example.js 121B
test
testcase1-find12across5files
1match.js 89B
dir2
3match.js 98B
nomatch10.js 84B
dir1
dir5
nomatch5.js 84B
nomatch6.js 84B
nomatch7.js 84B
dir4
3match.js 97B
dir6
3match.js 98B
nomatch3.js 84B
nomatch2.js 84B
dir3
dir7
2match.js 93B
nomatch13.js 84B
nomatch11.js 84B
todofinderTest.js 963B
testcase4-find9across4files
1match.js 89B
dir2
3match.js 98B
nomatch10.js 84B
dir1
dir5
nomatch5.js 84B
nomatch6.js 84B
nomatch7.js 84B
dir4
dir6
3match.js 98B
nomatch3.js 84B
nomatch2.js 84B
dir3
dir7
2match.js 93B
nomatch13.js 84B
nomatch11.js 84B
testcase2-no match
dir2
nomatch10.js 84B
nomatch9.js 84B
nomatch8.js 84B
dir1
dir5
nomatch5.js 84B
nomatch6.js 84B
nomatch7.js 84B
dir4
dir6
nomatch1.js 84B
nomatch3.js 84B
nomatch2.js 84B
nomatch4.js 84B
dir3
dir7
nomatch12.js 84B
nomatch13.js 84B
nomatch11.js 84B
共 46 条
- 1
资源评论
向朝卿
- 粉丝: 34
- 资源: 4443
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功