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

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

0.9 kB minified and gzipped, with everything it imports (measured with esbuild)

Jisho: Japanese kanji as data. The school grades, the JLPT levels, the readings and meanings and the pairs that look alike are each an entry point of their own, so a page loads only what it reads; this entry holds the types and the plain functions that read them, and no data.

Exports

NameKindWhat it is
ELEMENTARY_GRADESconstantThe grades taught in Japanese elementary school: 1,026 kanji, the kyōiku kanji.
gradeOffunctionWhich grade a kanji is taught in.
GradeTabletypeThe shape of GRADES, from @johnmorrisdotca/jisho/grades.
JLPT_LEVELSconstantEvery JLPT level, the easiest first.
JlptLeveltypeA JLPT level, N5 the easiest.
JlptTabletypeThe shape of JLPT, from @johnmorrisdotca/jisho/jlpt.
JOYO_GRADESconstantThe grades that make up the jōyō kanji, the 2,136 for everyday use.
KanjitypeOne kanji in full.
kanjiInfunctionThe kanji in a piece of text, once each, in the order they first appear.
kanjiOfGradefunctionThe kanji of one grade.
kanjiOfLevelfunctionThe kanji of one JLPT level, not counting the levels below it.
levelOffunctionWhich JLPT level's list holds a kanji.
LookAliketypeA kanji that looks like another, and how much.
LookAlikeOptionstypeHow far lookAlikes goes.
lookAlikesfunctionThe kanji most like one kanji, the closest first.
PackedKanjitypeThe shape of KANJI, from @johnmorrisdotca/jisho/kanji.
PackedLookAlikestypeThe shape of LOOK_ALIKE, from @johnmorrisdotca/jisho/look-alike.
readKanjifunctionReads the stored table into plain rows.
SCHOOL_GRADESconstantEvery school grade, in order.
SchoolGradetypeA school grade as KANJIDIC2 numbers it: 1 to 6 are elementary school, 8 is the rest of the jōyō kanji, taught in secondary school, 9 is the kanji allowed in names (jinmeiyō), 10 is a jinmeiyō variant of a jōyō kanji.
searchKanjifunctionThe kanji that hold a piece of text: the character itself, a reading or a meaning, in English or French, ignoring case.
VERSIONconstantThe package's version.

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