onkun
v0.2.8
Published
Kanji on/kun-reading dictionary
Downloads
15
Readme
onkun
Kanji on/kun-reading dictionary.
Usage
import { Onkun } from "onkun";
const onkun = new Onkun();
await onkun.loadJoyo("data/joyo-2017.csv");
await onkun.load("Joyo", "data/joyo-2010.csv");
await onkun.load("Unihan", "data/Unihan-2023-07-15.csv");
onkun.get("漢"); // --> { 小学: ["カン"], 中学: [], 高校: [], Joyo: ["カン"], Unihan: ["カン", "タン", "から"] }
Attribution
License
MIT