@ai-ecoverse/wasm-less

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

less, a pager that shows text one screen at a time.

原始使用文档

@ai-ecoverse/wasm-less

less 668 linked for SLICC's wasm realm, with static widec ncurses 6.5 and compiled-in terminfo fallbacks (xterm-256color, xterm, vt100, dumb). No /usr/share/terminfo on the VFS.

pnpm add -g @ai-ecoverse/wasm-less
less README.md

Input preprocessors

LESSOPEN and LESSCLOSE work from 668.0.0-7 (homescoop#1484), both the |cmd %s pipe form and the form that prints a replacement file name. The commands run through $SHELL -c (or /bin/sh -c), so they need @ai-ecoverse/wasm-bash and whatever tools they call, e.g. @ai-ecoverse/wasm-xz for LESSOPEN='|xz -dc %s'.

This less is still a secure build (--with-secure): ! shell commands, | pipes, v (editor), :e, s (log file), opening OSC 8 links (^O^O or a second mouse click; no LESS_OSC8_* handler runs), tags, lesskey files and the history file are refused with "Command not available". Only LESSOPEN and LESSCLOSE are allowed, through secure-lessopen.patch.

版本与发布记录

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

版本发布日期距今
668.0.0-7latest2026/10/2215 天前
668.0.0-62026/10/2215 天前
668.0.0-52026/10/1918 天前
668.0.0-42026/10/1720 天前
668.0.0-32026/10/1620 天前
668.0.0-22026/10/1027 天前

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

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

less, a pager that shows text one screen at a time.

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

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

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

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

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

@ai-ecoverse/wasm-less 使用 GPL-3.0-or-later OR BSD-2-Clause 许可。可在 GPL-3.0、BSD-2-Clause 中任选其一遵守。选择 BSD-2-Clause 时,宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

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

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

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

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