没有合适的资源?快使用搜索试试~ 我知道了~
ripgrep-js:围绕ripgrep的Node.js包装器
共18个文件
yml:3个
ts:3个
json:3个
需积分: 9 0 下载量 193 浏览量
2021-03-19
15:13:07
上传
评论
收藏 99KB ZIP 举报
温馨提示
-js 周围的Node.js包装器 注意:与ripgrep或此JS库的搜索功能无关。这只是在Node.js中公开ripgrep结果的包装。基础工具的全部功劳归和原始项目的可爱贡献者。 另请注意: ripgrep必须安装在$PATH某个位置才能起作用。 用法 import { ripGrep as rg } from 'ripgrep-js' ; // Give `rg` an absolute path to search in and the search term const results = await rg ( 'path/to/search' , 'foo' ) ; // `results` is an array of matches const [ firstMatch ] = results ; // Match info provided by each result
资源推荐
资源详情
资源评论
收起资源包目录
ripgrep-js-master.zip (18个子文件)
ripgrep-js-master
.husky
.gitignore 2B
pre-commit 58B
package.json 1KB
__tests__
rg.spec.ts 3KB
.eslintrc.json 324B
.github
dependabot.yml 274B
workflows
ci.yml 1KB
auto-merge.yml 298B
.prettierrc 27B
jest.config.js 70B
src
types.ts 916B
index.ts 2KB
tsconfig.json 153B
.gitignore 16B
CHANGELOG.md 1KB
README.md 1KB
yarn.lock 230KB
.eslintignore 62B
共 18 条
- 1
资源评论
crazed1987
- 粉丝: 35
- 资源: 4677
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功