@datasets/currency-codes

中文文档
1.0.3发布于 2018/10/30ISC零依赖近 30 天下载 6001

ISO 4217 Currency Codes

原始使用文档
文档目录5 节
  1. Contents
  2. Data
  3. Install
  4. Usage
  5. License

List of currencies and their 3 digit codes as defined by ISO 4217. The data provided here is the consolidation of Table A.1 "Current currency & funds code list" and Table A.3 "Historic denominations".

Note that the ISO page offers pay-for PDFs but also links to http://www.currency-iso.org/en/home/tables.html which does provide them in machine readable form freely.

Contents

Data

The data provided (see data/codes.csv) in this data package provides a consolidated list of currency (and funds) codes by combining these two separate tables:

Install

npm install @datasets/currency-codes

Usage

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

License

Placing in the Public Domain under the Public Domain Dedication and License. The original site states no restriction on use and the data is small and completely factual.

版本与发布记录

@datasets/currency-codes 共发布 4 个版本,首次发布于 2018/01/15;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.0.3latest2018/10/308 年前
1.0.22018/08/228 年前
1.0.12018/01/158 年前
1.0.02018/01/158 年前

关于 @datasets/currency-codes 的常见问题

@datasets/currency-codes 是什么?

ISO 4217 Currency Codes

如何安装 @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 和提交记录判断。