Skip to the content

Jisho辞書

The words of JMdict looked up by reading, written form, English meaning, a kanji in them or romaji, in small pieces fetched as needed, safe by default or unfiltered with every sense's marks, and the school grades, JLPT levels, readings, meanings and look-alike pairs of 2,999 kanji, each table an entry point of its own.

Jisho is the Japanese word 辞書 for a dictionary: this one holds Japanese words and kanji. About the name

Contents

Reference · The functions that read the tables

PackedKanjitype

The shape of KANJI, from @johnmorrisdotca/jisho/kanji.

Import it

import type { PackedKanji } from "@johnmorrisdotca/jisho";

Definition

type PackedKanji = {
    readonly source: string;
    readonly release: string;
    readonly rows: readonly (readonly [
        string,
        number,
        number,
        string,
        number,
        readonly string[],
        readonly string[],
        readonly string[],
        readonly string[]
    ])[];
};

Members

NameTypeDescription
sourcestring

Where it was made from.

releasestring

The date of the KANJIDIC2 it was made from.

rowsreadonly (readonly [string, number, number, string, number, readonly string[], readonly string[], readonly string[], readonly string[]])[]

Kanji, strokes, grade, level or "", frequency or 0, on readings, kun readings, English meanings, French meanings.

Examples

import type { PackedKanji } from "@johnmorrisdotca/jisho";

const packed: PackedKanji = { source: "KANJIDIC2", release: "2026-10-31", rows: [["日", 4, 1, "N5", 1, ["ニチ"], ["ひ"], ["day"], ["jour"]]] };
console.log(packed.rows.length);
1

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jisho 2.11.0.