@aptre/pragmasevka

中文文档
1.0.5发布于 2026/01/27OFL-1.1CommonJS零依赖构建来源已验证近 30 天下载 2.2万

Self-host the Pragmasevka font.

原始使用文档
文档目录8 节
  1. Installation
  2. Usage
  3. Features
  4. Included Font Variants
  5. Font Files
  6. Browser Support
  7. Related Fonts
  8. License

@aptre/pragmasevka

npm version license

A modern, condensed monospace font with increased x-height, optimized for code and terminal use.

This package provides an easy way to include the Pragmasevka font in your web projects. The font is based on Iosevka and is available from the upstream repository.

Comparison with PragmataPro Comparison with PragmataPro (black, image from Wikipedia)

Installation

# npm
npm install @aptre/pragmasevka

# yarn
yarn add @aptre/pragmasevka

# pnpm
pnpm add @aptre/pragmasevka

Usage

// Import in JS/TS
import '@aptre/pragmasevka';
@import "@aptre/pragmasevka/font.css";

/* Use in CSS */
font-family: 'Pragmasevka', monospace;

Features

Pragmasevka is a customized build of Iosevka with the following improvements:

  • Adjusted x-height for better readability
  • Optimized line height for dense code display
  • Refined weight for both regular and bold variants
  • Enhanced punctuation marks for better code scanning
  • Carefully selected programming ligatures
  • Condensed design that maximizes screen real estate

Included Font Variants

This package includes:

  • Regular
  • Bold
  • Bold Italic

Font Files

The font files are included in this package. If you need the original font files directly, you can download them from the upstream repository.

Browser Support

The package uses WOFF2 format which is supported in all modern browsers.

  • NRK-Mono - A condensed variant based on JetBrains Mono
  • Iosvmata - A more extended version of Pragmasevka

License

This package is licensed under the SIL Open Font License 1.1 (OFL-1.1).

Original font created by Renzhi Li (aka. Belleve Invis, [email protected]).

Pragmasevka variant created by Alexey Shytikov.

版本与发布记录

@aptre/pragmasevka 共发布 5 个版本,首次发布于 2025/03/04;过去 12 个月发布了 3 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.0.5latest2026/01/279 个月前
1.0.42026/01/279 个月前
1.0.32026/01/199 个月前
1.0.22025/10/281 年前
1.0.12025/03/041.7 年前

关于 @aptre/pragmasevka 的常见问题

@aptre/pragmasevka 是什么?

Self-host the Pragmasevka font.

如何安装 @aptre/pragmasevka?

在项目目录运行 npm install @aptre/pragmasevka,或使用 pnpm add / yarn add / bun add。

@aptre/pragmasevka 支持 TypeScript 吗?

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

@aptre/pragmasevka 支持 ESM 还是 CommonJS?

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

@aptre/pragmasevka 可以商用吗?

@aptre/pragmasevka 使用 OFL-1.1 许可。声明的许可为 OFL-1.1,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@aptre/pragmasevka 的下载量有多少?

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

@aptre/pragmasevka 还在维护吗?

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