この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。
import { findByMeaning, findInflected, loadWords, readText, wordsOf, wordsWithKanji } from "@johnmorrisdotca/jisho/words";wordsOf(await loadWords("かみ"), "かみ") // 紙, 神, 髪… with a meaning each; about 25 kB is fetched(await findInflected("食べなかった"))[0] // 食べる, with the path negative, pastawait readText("私は食べなかった") // the words of a text, with furigana, meaning and levels; studyList(result) takes them awayawait findByMeaning("water") // 水 and the commonest words whose meaning holds waterawait wordsWithKanji("山") // 山, 火山, 登山… the commonest words written with 山import { gradeOf, kanjiOfLevel, lookAlikes, readKanji } from "@johnmorrisdotca/jisho";gradeOf(GRADES, "語") // 2, with GRADES from "@johnmorrisdotca/jisho/grades"kanjiOfLevel(JLPT, "N5") // the 79 kanji of N5, with JLPT from "@johnmorrisdotca/jisho/jlpt"readKanji(KANJI) // 2,999 rows, with KANJI from "@johnmorrisdotca/jisho/kanji"lookAlikes(LOOK_ALIKE, "土") // 士 and the rest, with LOOK_ALIKE from "@johnmorrisdotca/jisho/look-alike"