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

@leonsilicon/moedict-data

v0.202603.0

Published

教育部重編國語辭典修訂本資料檔 (Ministry of Education Revised Mandarin Chinese Dictionary data) as parsed JSON, with TypeScript types.

Readme

@leonsilicon/moedict-data

教育部重編國語辭典修訂本 的資料檔,以 JSON 形式打包並附帶 TypeScript 型別。

Parsed JSON of the Ministry of Education Revised Mandarin Chinese Dictionary (Republic of China), packaged for Node.js with accurate TypeScript types. Source data is from g0v/moedict-data.

The dataset contains 161,197 entries including characters, words, idioms, with bopomofo, pinyin, definitions, examples, quotes, and synonyms/antonyms.

Install

npm install @leonsilicon/moedict-data

Usage

import dict from "@leonsilicon/moedict-data";

console.log(dict.length); // 161197

const entry = dict.find((e) => e.title === "中文");
console.log(entry?.heteronyms[0]?.pinyin); // "zhōng wén"

The JSON file is also exposed directly:

import dict from "@leonsilicon/moedict-data/dict-revised.json" with { type: "json" };

Schema

interface Entry {
  title: string;
  heteronyms: Heteronym[];
  radical?: string;
  stroke_count?: number;
  non_radical_stroke_count?: number;
}

interface Heteronym {
  definitions: Definition[];
  bopomofo?: string;
  pinyin?: string;
}

interface Definition {
  def: string;
  type?: string;       // 名 / 動 / 形 / ...
  quote?: string[];    // 古典引文
  example?: string[];  // 例句
  link?: string[];     // 相關連結
  synonyms?: string;   // 近義詞 (comma-separated)
  antonyms?: string;   // 反義詞 (comma-separated)
}

Building

The shipped dict-revised.json is generated from data/dict-revised.json.xz:

bun run parse

This requires the xz binary on $PATH.

License

MIT. Dictionary data is © 中華民國教育部 and distributed under the terms used by g0v/moedict-data.