@ai-ecoverse/wasm-grep

中文文档
3.12.0-8发布于 2026/10/22GPL-3.0-or-later零依赖构建来源已验证近 30 天下载 1.7万

GNU grep 3.12: search files for lines that match a pattern, with -P (PCRE2).

原始使用文档

@ai-ecoverse/wasm-grep

GNU grep for slicc.

pnpm add -g @ai-ecoverse/wasm-grep

3.12.0-7: grep -P, egrep and fgrep (homescoop#680, #645; 2026-10-20)

  • grep -P works. grep statically links PCRE2 10.49 (8-bit, no JIT), built from the pinned source. Its licence is in THIRD-PARTY-NOTICES.md.
  • egrep and fgrep behave as grep -E and grep -F. Like upstream's wrapper scripts, they first print egrep: warning: egrep is obsolescent; using grep -E (or the fgrep equivalent) to stderr. They used to run as plain BRE grep.

版本与发布记录

@ai-ecoverse/wasm-grep 共发布 10 个版本,首次发布于 2026/09/27;过去 12 个月发布了 10 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
3.12.0-8latest2026/10/2215 天前
3.12.0-72026/10/2116 天前
3.12.0-62026/10/1918 天前
3.12.0-52026/10/1720 天前
3.12.0-42026/10/1620 天前
3.12.0-32026/10/031 个月前

关于 @ai-ecoverse/wasm-grep 的常见问题

@ai-ecoverse/wasm-grep 是什么?

GNU grep 3.12: search files for lines that match a pattern, with -P (PCRE2).

如何安装 @ai-ecoverse/wasm-grep?

在项目目录运行 npm install @ai-ecoverse/wasm-grep,或使用 pnpm add / yarn add / bun add。

@ai-ecoverse/wasm-grep 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/ai-ecoverse__wasm-grep 是否存在。

@ai-ecoverse/wasm-grep 可以商用吗?

@ai-ecoverse/wasm-grep 使用 GPL-3.0-or-later 许可。强 Copyleft:分发包含该代码的软件时,整个作品需以 GPL-3.0 兼容许可开源,并附带专利与反锁定条款。仅内部使用不触发此义务。以上为概括,不构成法律意见,请以许可原文为准。

@ai-ecoverse/wasm-grep 的下载量有多少?

根据 npm 官方下载统计,@ai-ecoverse/wasm-grep 在 2026/10/05 – 2026/11/03 这 30 天内被下载 17,466 次,日均约 582 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ai-ecoverse/wasm-grep 还在维护吗?

最新版本 3.12.0-8 发布于 2026/10/22(15 天前);至今共发布 10 个版本,其中过去 12 个月发布了 10 个;首次发布于 2026/09/27。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。