npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@niaoyouji/chinese-bird-name-bridge

v0.1.0-alpha.3

Published

Multilingual Chinese bird name interoperability layer: alignment across Simplified Chinese (Zheng4), Traditional Chinese (Taiwan/HK), English, and Latin (IOC ↔ Clements). Includes observation-format conversion utilities (eBird ↔ BirdReportCN).

Readme

Chinese Bird Name Bridge

npm Code License: MIT Data License: CC BY-NC 4.0

中文鸟名多语言对齐数据集与查询工具。提供简体中文 / 繁体中文(台湾、香港)/ 英文 / 拉丁名(IOC、Clements)的双向映射,附带观察数据格式转换工具。

本库是 鸟有记 / Niaoyouji 小程序开发过程中沉淀下来的产物,开源出来希望对中文观鸟社区做点贡献。

中文 README · English README


安装

npm install @niaoyouji/chinese-bird-name-bridge

当前 0.1.0-alpha.3,API 尚未稳定。

快速使用

import {
  resolveName,
  getZheng4Name,
  getTaiwanName,
  getEnglishName,
  getLatinName
} from '@niaoyouji/chinese-bird-name-bridge'

// 一次拿全所有语言
resolveName('黑鳽')
// {
//   ioc:      { latin: 'Botaurus flavicollis' },
//   clements: { latin: 'Botaurus flavicollis' },
//   primary:  { zh_CN: '黑苇鳽', en: 'Black Bittern' },
//   aliases:  { zh_CN: ['黑鳽'] }
// }

// 单方向查询(输入支持任意语言/别名)
getTaiwanName('仙八色鸫')   // → '八色鳥'
getZheng4Name('八色鳥')      // → '仙八色鸫'
getEnglishName('黑苇鳽')     // → 'Black Bittern'
getLatinName('黑苇鳽')       // → 'Botaurus flavicollis'

数据覆盖

1508 个 IOC 鸟种(以中国大陆常见种为主)。

| 语言 | 主名覆盖 | 别名 | 来源 | |------|---------|------|------| | zh_CN | 1508 (100%) | 156 | IOC + 鸟有记整理(郑四兼容) | | zh_TW | 1239 (82%) | 311 | Wikidata(CC0) | | zh_HK | 544 (36%) | — | Wikidata(CC0) | | en | 1508 (100%) | — | IOC |

其中 962 个物种的台湾名与简中实质性不同(不是简单繁简转换),例如:

  • 仙八色鸫 / 八色鳥
  • 斑嘴鸭 / 花嘴鴨
  • 普通海鸥 / 歐亞海鷗

数据 schema

{
  "latin": "Pitta nympha",
  "wikidata_qid": "Q731573",
  "names": {
    "zh_CN": { "primary": "仙八色鸫" },
    "zh_TW": { "primary": "八色鳥" },
    "zh_HK": { "primary": "仙八色鶇" },
    "en":    { "primary": "Fairy Pitta" }
  }
}

主要数据文件:

  • data/ioc-species-db.json — 多语言鸟名总表
  • data/ebird-clements-overrides.json — IOC → Clements 拉丁差异(18 条)
  • data/ebird-zh-overrides.json — eBird 网站简中显示名(155 条)
  • data/ebird-province-codes.json — 中国省级 → eBird 省份代码

附加工具:观察数据格式互转

鸟有记小程序支持在 eBird 与中国观鸟记录中心(BirdReportCN)之间互转观察数据。本库把其中的关键方法抽出,方便有需要的用户独立使用:

| API | 用途 | |-----|------| | convertBirdReportCNToEbird(buffer) | BirdReportCN XLSX → eBird CSV | | convertEbirdToBirdReportCN(csv) | eBird CSV → BirdReportCN XLSX | | generateEbirdCSV(sessions) / parseEbirdCSV(csv) | session 数组 ↔ eBird CSV | | generateBirdReportCNXlsx(sessions) / parseBirdReportCNXlsx(buffer) | session 数组 ↔ BirdReportCN XLSX |

协议

  • 代码:MIT — 见 LICENSE
  • 数据:CC BY-NC 4.0 — 见 LICENSE-DATA
    • 个人 / 学术 / 非商业开源使用免费
    • 商业产品再分发数据请联系作者

致谢

  • IOC World Bird List — https://www.worldbirdnames.org/
  • Wikidata(多语言名上游)— https://www.wikidata.org/
  • Clements Checklist — Cornell Lab of Ornithology
  • 《中国鸟类分类与分布名录》第 4 版(郑光美 等编,科学出版社)
  • 中華民國野鳥學會(CWBF)— https://www.bird.org.tw/
  • BirdReportCN 中国观鸟记录中心 — http://www.birdreport.cn/

贡献

欢迎以 PR 形式贡献:

  1. 修正分类系统差异(eBird Clements 每年 10 月更新)
  2. 补全历史中文别名(郑三、华版、台版、地方名)
  3. 补充 zh_HK 主名(当前覆盖率 36%)
  4. 修正未匹配的 11 个分类异动种

提交前请阅读 docs/mapping-methodology.md


Maintained by Niaoyouji 鸟有记.