リファレンス
表を読む関数
import { … } from "@johnmorrisdotca/jisho";
最小化と gzip 圧縮をしたサイズは 0.9 kB(読み込むものをすべて含み、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.
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
ELEMENTARY_GRADES | 定数 | The grades taught in Japanese elementary school: 1,026 kanji, the kyōiku kanji. |
gradeOf | 関数 | Which grade a kanji is taught in. |
GradeTable | 型 | The shape of GRADES, from @johnmorrisdotca/jisho/grades. |
JLPT_LEVELS | 定数 | Every JLPT level, the easiest first. |
JlptLevel | 型 | A JLPT level, N5 the easiest. |
JlptTable | 型 | The shape of JLPT, from @johnmorrisdotca/jisho/jlpt. |
JOYO_GRADES | 定数 | The grades that make up the jōyō kanji, the 2,136 for everyday use. |
Kanji | 型 | One kanji in full. |
kanjiIn | 関数 | The kanji in a piece of text, once each, in the order they first appear. |
kanjiOfGrade | 関数 | The kanji of one grade. |
kanjiOfLevel | 関数 | The kanji of one JLPT level, not counting the levels below it. |
levelOf | 関数 | Which JLPT level's list holds a kanji. |
LookAlike | 型 | A kanji that looks like another, and how much. |
LookAlikeOptions | 型 | How far lookAlikes goes. |
lookAlikes | 関数 | The kanji most like one kanji, the closest first. |
PackedKanji | 型 | The shape of KANJI, from @johnmorrisdotca/jisho/kanji. |
PackedLookAlikes | 型 | The shape of LOOK_ALIKE, from @johnmorrisdotca/jisho/look-alike. |
readKanji | 関数 | Reads the stored table into plain rows. |
SCHOOL_GRADES | 定数 | Every school grade, in order. |
SchoolGrade | 型 | A 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. |
searchKanji | 関数 | The kanji that hold a piece of text: the character itself, a reading or a meaning, in English or French, ignoring case. |
VERSION | 定数 | The package's version. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。