@electerm/electerm-themes

中文文档
1.0.2发布于 2026/09/13MITCommonJS零依赖近 30 天下载 2295

electerm themes vendored from iTerm2-Color-Schemes

原始使用文档
文档目录5 节
  1. Usage
  2. Development
  3. About electerm
  4. Related projects/sites
  5. License

中文

electerm

electerm-themes

Theme pack for electerm, vendored from iTerm2-Color-Schemes, plus electerm custom themes. Themes are stored locally in ./themes so builds stay stable without fetching from upstream.

Usage

npm install @electerm/electerm-themes
const themes = require('@electerm/electerm-themes')
// or
import themes from '@electerm/electerm-themes/dist/index.mjs'

// themes is an array of theme file contents (string),
// each theme is a `key=value` list, eg:
// themeName=3024 Day
// main=#ededed
// ...

You can also copy single theme files from dist/themes/*.txt and load them in electerm directly, or preview/edit them at theme.electerm.org.

Development

Add or edit theme files in ./themes (*.txt, key=value per line, must include themeName), then:

npm run build
npm test

The build reads every file in ./themes into dist/index.js, dist/index.mjs and copies the txt files to dist/themes.

About electerm

electerm is an open-source terminal / SSH / SFTP / FTP / Telnet / serialport / RDP / VNC / Spice client, supporting Linux, macOS, Windows, Android, HarmonyOS, and iOS.

Besides the mainstream Windows / macOS / Linux / Android platforms, electerm also supports HarmonyOS, iOS, and older systems such as Ubuntu 18, Windows 7, macOS 10+, as well as domestic Linux distributions like UOS, Kylin, and LoongArch (both old-world and new-world).

License

MIT

版本与发布记录

@electerm/electerm-themes 共发布 3 个版本,首次发布于 2023/11/03;过去 12 个月发布了 1 个版本。

版本发布日期距今
1.0.2latest2026/09/132 个月前
1.0.12023/11/033 年前
1.0.02023/11/033 年前

关于 @electerm/electerm-themes 的常见问题

@electerm/electerm-themes 是什么?

electerm themes vendored from iTerm2-Color-Schemes

如何安装 @electerm/electerm-themes?

在项目目录运行 npm install @electerm/electerm-themes,或使用 pnpm add / yarn add / bun add。

@electerm/electerm-themes 支持 TypeScript 吗?

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

@electerm/electerm-themes 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@electerm/electerm-themes 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@electerm/electerm-themes 可以商用吗?

@electerm/electerm-themes 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@electerm/electerm-themes 的下载量有多少?

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

@electerm/electerm-themes 还在维护吗?

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