没有合适的资源?快使用搜索试试~ 我知道了~
grepy:grep 足够智能的包装器
共14个文件
json:8个
js:3个
txt:1个
需积分: 9 0 下载量 176 浏览量
2021-06-17
01:22:38
上传
评论
收藏 7KB ZIP 举报
温馨提示
灰色的 使用 JSON 输出封装命令行 grep 安装 npm install --save grepy 用法 打回来 grepy ( pattern , path , args , function ( match ) { ... } ) 溪流 grepy发出一条已解析的行,因此可以“即时”处理数据而无需缓冲。 感谢这里的流。 grepy . stream ( pattern , path , args ) 输出格式 [ { filename : < filename> , lineNumber: < line> , chunks: [ { str : < substring> , matched < true> } , { str : < substring> , matched < true |
资源推荐
资源详情
资源评论
收起资源包目录
grepy-master.zip (14个子文件)
grepy-master
.gitignore 23B
package.json 617B
index.js 2KB
README.md 2KB
test
expected-outputs_right_matches_and_line_numbers.json 463B
expected-outputs_lines_with_matches.json 67B
test.txt 185B
helpers.js 443B
expected-handles_matches_at_begin_and_end.json 216B
expected-skips_context_delimiter.json 926B
expected-handles_whole_line_match.json 1KB
expected-handles_ignore_case.json 539B
test.js 3KB
expected-outputs_last_not_matched_character.json 462B
共 14 条
- 1
资源评论
水瓶座的兔子
- 粉丝: 26
- 资源: 4469
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功