# @augment-vir/common 中文文档

规范地址：https://npmcn.com/package/%40augment-vir/common/

版本：32\.7\.0
npm 元数据更新时间：2026-10-29T15:29:54.075Z
中文译文更新时间：2026-11-07T04:42:54.938Z
软件包许可：\(MIT OR CC0-1\.0\)

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40augment-vir/common
原文对照：https://npmcn.com/package/%40augment-vir/common/?lang=original
项目主页：https://github.com/electrovir/augment-vir
源码仓库：https://github.com/electrovir/augment-vir

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：352 kB，232 个文件
- 模块格式：ES Module
- TypeScript 类型：包内自带
- Node.js 要求：\>=22
- 运行依赖：8 个
- 首次发布：2022-11-14T20:44:10.166Z
- 最新版本发布：2026-10-29T15:29:52.711Z
- 近 30 天下载量：951488（2026-10-07 至 2026-11-05，npm 官方下载统计）
- 已发布版本数：375（近 12 个月 75 个）

## 中文简介

用于任何JavaScript环境的辅助器,辅助器类型,功能和类的集合.

## 安装

```sh
npm install @augment-vir/common
```

也可以使用：`pnpm add @augment-vir/common`、`yarn add @augment-vir/common`、`bun add @augment-vir/common`

## README

# @augment-vir/ 常见

用于任何JavaScript环境的辅助器,辅助器类型,功能和类的集合.

-   实例: [`filterObject`](https://electrovir.github.io/augment-vir/functions/filterObject.html), (中文(简体) ), [`wait`](https://electrovir.github.io/augment-vir/functions/wait.html), (中文(简体) ), [`getEnumValues`](https://electrovir.github.io/augment-vir/functions/getEnumValues.html)
-   包括彩色记录器执行: [`log`](https://electrovir.github.io/augment-vir/variables/log.html)
-   包括类似 SQL 的运行时间执行类型脚本 `Pick`数字 : [`selectFrom`](https://electrovir.github.io/augment-vir/functions/selectFrom-1.html)
-   还有更多...

见所有 `@augment-vir` 这里的文件 : [https://electrovir.github.io/augment-vir (英语)](https://electrovir.github.io/augment-vir)

## 常见问题

### @augment-vir/common 是什么？

用于任何JavaScript环境的辅助器,辅助器类型,功能和类的集合\.

### 如何安装 @augment-vir/common？

在项目目录运行 npm install @augment-vir/common，或使用 pnpm add / yarn add / bun add。

### @augment-vir/common 支持 TypeScript 吗？

支持。包内自带 TypeScript 类型声明（package\.json 声明了 types 入口），安装后即可获得类型提示，无需再安装 @types 包。

### @augment-vir/common 支持 ESM 还是 CommonJS？

以 ES Module 形式发布，推荐使用 import 引入。在 CommonJS 项目中，Node\.js 20\.19\+ / 22\.12\+ 可以直接 require\(\) 不含顶层 await 的 ES Module，更早的版本需要改用动态 import\(\)。

### @augment-vir/common 需要什么版本的 Node\.js？

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

### @augment-vir/common 可以商用吗？

@augment-vir/common 使用 \(MIT OR CC0-1\.0\) 许可。可在 MIT、CC0-1\.0 中任选其一遵守。选择 MIT 时，宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @augment-vir/common 的下载量有多少？

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

### @augment-vir/common 还在维护吗？

最新版本 32\.7\.0 发布于 2026/10/29（9 天前）；至今共发布 375 个版本，其中过去 12 个月发布了 75 个；首次发布于 2022/11/15。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

