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

readKanjifunction

Reads the stored table into plain rows.

Import it

import { readKanji } from "@johnmorrisdotca/jisho";

Definition

function readKanji(packed: PackedKanji): Kanji[]

Parameters

NameTypeDescription
packedPackedKanji

KANJI, from @johnmorrisdotca/jisho/kanji.

Returns

Kanji[]

Every kanji, in the order of KANJIDIC2.

Examples

import { readKanji } from "@johnmorrisdotca/jisho";
import { KANJI } from "@johnmorrisdotca/jisho/kanji";

console.log(readKanji(KANJI).length);
2999

What it prints (run when this page was built)

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