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 · Look words up by reading, written form, English meaning, kanji or romaji

PieceSettype

The pieces of one kind: the first key of each, in order, and how to fetch each. A key goes in the last piece whose first key is not after it.

Import it

import type { PieceSet } from "@johnmorrisdotca/jisho/words";

Definition

type PieceSet = {
    readonly starts: readonly string[];
    readonly load: readonly (() => Promise<WordsPiece>)[];
};

Members

NameTypeDescription
startsreadonly string[]
loadreadonly (() => Promise<WordsPiece>)[]

Examples

import type { PieceSet } from "@johnmorrisdotca/jisho/words";

const set: PieceSet = { starts: [""], load: [async () => ({ rows: [] })] };
console.log(set.starts.length);
1

What it prints (run when this page was built)

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