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

list-of-graphemes-of-commonly-used-chinese-characters

v0.0.0

Published

Typed JSON package for the List of Graphemes of Commonly-used Chinese Characters (常用字字形表), published by the Hong Kong Education Bureau. Exports Array<string | string[]> where variant forms sharing an index are grouped as string arrays.

Readme

list-of-graphemes-of-commonly-used-chinese-characters

Typed JSON package for the List of Graphemes of Commonly-used Chinese Characters (常用字字形表) — a list of commonly-used Traditional Chinese characters published by the Hong Kong Education Bureau (香港教育局).

Installation

npm install list-of-graphemes-of-commonly-used-chinese-characters

Usage

import characters from "list-of-graphemes-of-commonly-used-chinese-characters";

console.log(characters.length); // 4762

// Most entries are a single character string
console.log(characters[0]);  // "一"

// Entries where multiple variant forms share the same index are string arrays
// e.g. characters[16] === ["丟", "丢"]
for (const entry of characters) {
  if (Array.isArray(entry)) {
    console.log("variants:", entry);
  }
}

The default export is Array<string | string[]> with 4,762 entries in official list order. Single-character entries are plain strings; entries with variant forms are arrays of strings.

Data source

The character list and ordering follow the Hong Kong publication:

香港教育學院,《常用字字形表》(二零零零年修訂本),香港:香港教育學院,2000,ISBN 962-949-040-4。

The raw source data is in data/常用字字形表.txt.

Regenerating the JSON

node --experimental-strip-types scripts/parse.ts

License

MIT