Reference · Look words up by reading, written form, English meaning, kanji or romaji
PackedWordstype
A table of words as an entry point exports it: where it was made from, the JMdict release, and one string a row. A row is the reading, the written forms joined by "|", flags, then one field for each sense, apart by tabs. A sense is its marks joined by commas, then its glosses, apart by "¦".
Import it
import type { PackedWords } from "@johnmorrisdotca/jisho/words";
Definition
type PackedWords = {
readonly source: string;
readonly release: string;
readonly rows: readonly string[];
};
Members
| Name | Type | Description |
|---|---|---|
source | string | Where it was made from. |
release | string | The date of the JMdict it was made from. |
rows | readonly string[] | One string a row. |
Examples
import type { PackedWords } from "@johnmorrisdotca/jisho/words";
const table: PackedWords = { source: "JMdict", release: "2026-11-02", rows: ["かみ\t紙\tC\t¦paper"] };
console.log(table.rows.length);1What it prints (run when this page was built)