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

levelOffunction

Which JLPT level's list holds a kanji.

Import it

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

Definition

function levelOf(table: JlptTable, kanji: string): JlptLevel | null

Parameters

NameTypeDescription
tableJlptTable

JLPT, from @johnmorrisdotca/jisho/jlpt.

kanjistring

One kanji.

Returns

JlptLevel | null

The level, or null when no list holds the kanji (that says nothing about how hard it is), or when the text is not exactly one character.

Examples

import { levelOf } from "@johnmorrisdotca/jisho";
import { JLPT } from "@johnmorrisdotca/jisho/jlpt";

console.log(levelOf(JLPT, "日"), levelOf(JLPT, "鬱")); // N5 null
N5 null

What it prints (run when this page was built)

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