# @airframes/acars-decoder 中文文档

规范地址：https://npmcn.com/package/%40airframes/acars-decoder/

版本：1\.9\.5
npm 元数据更新时间：2026-10-30T10:52:35.248Z
中文译文更新时间：2026-11-06T17:32:11.884Z
软件包许可：MIT

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

原始 npm 页面：https://www.npmjs.com/package/%40airframes/acars-decoder
原文对照：https://npmcn.com/package/%40airframes/acars-decoder/?lang=original
项目主页：https://github.com/airframesio/acars-decoder-typescript#readme
源码仓库：https://github.com/airframesio/acars-decoder-typescript

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

- 包体积（解压后）：4.8 MB，21 个文件
- 模块格式：ESM + CJS
- TypeScript 类型：包内自带
- Node.js 要求：\>=18
- 运行依赖：1 个
- 首次发布：2019-12-14T00:22:32.791Z
- 最新版本发布：2026-10-30T10:52:34.920Z
- 近 30 天下载量：2574（2026-10-05 至 2026-11-03，npm 官方下载统计）
- 已发布版本数：91（近 12 个月 25 个）

## 中文简介

TypeScript/ JavaScript 的 ACARS 信件解码器

## 安装

```sh
npm install @airframes/acars-decoder
```

也可以使用：`pnpm add @airframes/acars-decoder`、`yarn add @airframes/acars-decoder`、`bun add @airframes/acars-decoder`

## README

# acars-decoder-type 标记

[![NPM Version](https://badge.fury.io/js/@airframes%2Facars-decoder.svg)](https://badge.fury.io/js/@airframes%2Facars-decoder) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://npmcn.com/package/%40airframes/acars-decoder/License.md) [![GitHub Actions Workflow Status](https://github.com/airframesio/acars-decoder-typescript/actions/workflows/yarn-test.yml/badge.svg) ](https://github.com/airframesio/acars-decoder-typescript/actions/workflows/yarn-test.yml)![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/airframesio/acars-decoder-typescript?utm_source=oss&utm_medium=github&utm_campaign=airframesio%2Facars-decoder-typescript&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews) [![Contributors](https://img.shields.io/github/contributors/airframesio/acars-decoder-typescript)](https://github.com/airframesio/acars-decoder-typescript/graphs/contributors) [![Activity](https://img.shields.io/github/commit-activity/m/airframesio/acars-decoder-typescript)](https://github.com/airframesio/acars-decoder-typescript/pulse) [![Discord](https://img.shields.io/discord/1067697487927853077?logo=discord)](https://discord.gg/airframes)

ACARS是一种飞机通讯通讯协议,在全世界使用已有几十年. 这个库的存在是为了专门解码ACARS消息有效载荷的文本部分.

该图书馆是围绕研究与发现而建立的 [ACARS 信件文档](https://github.com/airframesio/acars-message-documentation)社区努力记录ACARS信息标签/文本有效载荷的细节.

它被写入TypeScript(编译为Javascript),并作为国家防范机制软件包发布.

欢迎您发言(请参见 [https://github.com/airframesio/acars-message-documentation (英语)](https://github.com/airframesio/acars-message-documentation) 我们合作研究和记录各种信息,而信息主要是用来推动 [机身](https://app.airframes.io/) 财务报告和审定财务报表 [汽车](https://sdr-e.com/docker-acarshub),您可以在自己的应用程序中自由使用此库.

# 节点支持政策

-   运行时间支持: Node.js QQ 18
-   开发与CI:在节点18x、20x、22x和24x验证
-   TypeScript开发使用最新的稳定节点类型(目前为v24)而不会迫使消费者使用特定的节点类型版本,因为 `@types/node` 是一种依赖.
-   已出版的建筑是针对第18号节点,通过 `tsup` 因此,它们仍然兼容所有支持的节点版本.

# 安装

添加数据 `@airframes/acars-decoder` 到您的 JavaScript 或 TypeScript 项目.

与 `yarn`数字 :

```
yarn add @airframes/acars-decoder
```

与 `npm`数字 :

```
npm install @airframes/acars-decoder
```

# 使用量

文件马上就到.

# 捐款

欢迎捐款! 请跟随 [ACARS 信件文档](https://github.com/airframesio/acars-message-documentation) 执行时。 多数人发现这让事情变得容易得多。 提交拉出请求 我们将感激地审查和合并.

# 贡献者

| 贡献者 | 说明 |
| --- | --- |
| [凯文·埃利奥特](https://github.com/kevinelliott) | 主要机体贡献者 |
| [迈克尔·约翰逊](https://github.com/johnsom) | 解码器插件, 测试框架 |
| [马克·布米勒](https://github.com/makrsmark) | 解码器插件、测试、公用事业 |

## 常见问题

### @airframes/acars-decoder 是什么？

TypeScript/ JavaScript 的 ACARS 信件解码器

### 如何安装 @airframes/acars-decoder？

在项目目录运行 npm install @airframes/acars-decoder，或使用 pnpm add / yarn add / bun add。它还提供命令行工具 acars-decoder、acars-decoder-test，可以用 npx acars-decoder 直接运行。

### @airframes/acars-decoder 支持 TypeScript 吗？

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

### @airframes/acars-decoder 支持 ESM 还是 CommonJS？

同时提供 ES Module 与 CommonJS 入口，import 和 require\(\) 都可以使用，打包工具会自动选择合适的版本。

### @airframes/acars-decoder 需要什么版本的 Node\.js？

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

### @airframes/acars-decoder 可以商用吗？

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

### @airframes/acars-decoder 的下载量有多少？

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

### @airframes/acars-decoder 还在维护吗？

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

