3 个版本
0.1.2 | 2021年11月15日 |
---|---|
0.1.1 | 2020年5月10日 |
0.1.0 | 2020年5月10日 |
#694 在 开发工具
被 infsprogs 使用
61KB
1.5K SLoC
🕸 xterm-js-rs 🦀
此软件包提供了 Rust-WebAssembly 绑定到 xterm-js
JavaScript 库,并可用于为您的软件包设置自定义的基于 Web 的 命令行,无需太多努力,在客户端运行。
🎥 示例
要查看在 GitHub Pages 上的运行效果: https://segeljakt.github.io/xterm-js-rs。示例代码可在此找到:here。
🚀 GitHub Actions 和 GitHub Pages
自动将网站部署到 GitHub Pages 的 GitHub Actions 工作流程可在此找到:here,以及设置 GitHub Pages 的说明。
🔬 文档
要了解绑定功能概述,请查看官方 API。
🎚 扩展功能
有条件地,可以通过编译此软件包并启用相应的功能来激活 xterm-js
的 扩展功能
xterm-addon-attach
xterm-addon-fit
xterm-addon-ligatures
xterm-addon-search
xterm-addon-serialize
xterm-addon-unicode11
xterm-addon-web-links
xterm-addon-webgl
⚠️ 信息
如果您的 npm 软件包依赖于此软件包,则必须在根目录和 www
目录中包含一个 package.json
文件,该文件指定了对 xterm-js
库的依赖。例如:
👷 帮助所需
欢迎帮助在现有的 Rust-REPL 库(如 linefeed、liner、rustyline、termwiz)中添加对 xterm-js-rs
的支持!
😕 待办事项
- 添加适当的文档、测试和更干净的 API。
依赖关系
~6.5–8.5MB
~171K SLoC