# @datasets/currency-codes 中文文档

规范地址：https://npmcn.com/package/%40datasets/currency-codes/

版本：1\.0\.3
npm 元数据更新时间：2022-04-05T03:02:45.414Z
中文译文更新时间：2026-11-11T17:03:49.520Z
软件包许可：ISC

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

原始 npm 页面：https://www.npmjs.com/package/%40datasets/currency-codes
原文对照：https://npmcn.com/package/%40datasets/currency-codes/?lang=original
项目主页：https://github.com/datasets/currency-codes/tree/npm#readme
源码仓库：https://github.com/datasets/currency-codes#npm

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

- 包体积（解压后）：79.3 kB，5 个文件
- TypeScript 类型：未声明
- 运行依赖：0 个
- 首次发布：2018-01-15T15:06:06.221Z
- 最新版本发布：2018-10-30T10:05:12.169Z
- 近 30 天下载量：6001（2026-10-12 至 2026-11-10，npm 官方下载统计）
- 已发布版本数：4（近 12 个月 0 个）

## 中文简介

ISO 4217 货币编码

## 安装

```sh
npm install @datasets/currency-codes
```

也可以使用：`pnpm add @datasets/currency-codes`、`yarn add @datasets/currency-codes`、`bun add @datasets/currency-codes`

## README

货币清单及其3个数字编码 [国际标准化组织 4217](http://www.currency-iso.org/en/home/tables.html)。数据 此处提供合并表A.1“当前货币和资金编码清单”和 表A.3 “历史名称”.

注意 [ISO 页](http://www.currency-iso.org/en/home/tables.html) 提供PDF的付款,但也提供链接 [http://www.mounicipal-iso.org/en/home/tables.html (中文(简体) )](http://www.currency-iso.org/en/home/tables.html) 以机器提供它们 可读形式自由.

## 目录

-   [数据](https://npmcn.com/package/%40datasets/currency-codes/#readme-data)
-   [安装](https://npmcn.com/package/%40datasets/currency-codes/#readme-install)
-   [使用量](https://npmcn.com/package/%40datasets/currency-codes/#readme-usage)
-   [许可证](https://npmcn.com/package/%40datasets/currency-codes/#readme-license)

## 数据

本数据包中提供的数据(见数据/代码.csv)提供: 合并这两种货币(和资金)代码的综合清单 单独的表格:

-   [ISO 表A.1 - 现行货币和基金](http://www.currency-iso.org/en/home/tables/table-a1.html)
-   [ISO 表A.3 - 货币和基金历史面额代码清单](http://www.currency-iso.org/en/home/tables/table-a3.html)

## 安装

```
npm install @datasets/currency-codes
```

## 使用量

```
const codes = require('@datasets/currency-codes');
```

## 许可证

将公共领域置于公共领域指定和许可证之下. 原站点表示没有使用限制,数据也很小 完全是事实.

## 常见问题

### @datasets/currency-codes 是什么？

ISO 4217 货币编码

### 如何安装 @datasets/currency-codes？

在项目目录运行 npm install @datasets/currency-codes，或使用 pnpm add / yarn add / bun add。

### @datasets/currency-codes 支持 TypeScript 吗？

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

### @datasets/currency-codes 可以商用吗？

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

### @datasets/currency-codes 的下载量有多少？

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

### @datasets/currency-codes 还在维护吗？

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

