Reference · The functions that read the tables
JlptLeveltype
A JLPT level, N5 the easiest.
Import it
import type { JlptLevel } from "@johnmorrisdotca/jisho";
Definition
type JlptLevel = "N5" | "N4" | "N3" | "N2" | "N1";
Examples
import type { JlptLevel } from "@johnmorrisdotca/jisho";
const level: JlptLevel = "N5";
console.log(level);N5What it prints (run when this page was built)