Reference · Look words up by reading, written form, English meaning, kanji or romaji
PackedPatchtype
What to do to the common words that safe mode keeps to have every common word as JMdict has it: each edit is a position, then "r" to replace the row there or "i" to insert one before it, then the row, apart by tabs.
Import it
import type { PackedPatch } from "@johnmorrisdotca/jisho/words";
Definition
type PackedPatch = {
readonly source: string;
readonly release: string;
readonly edits: readonly string[];
};
Members
| Name | Type | Description |
|---|---|---|
source | string | |
release | string | |
edits | readonly string[] |
Examples
import type { PackedPatch } from "@johnmorrisdotca/jisho/words";
const patch: PackedPatch = { source: "JMdict", release: "2026-11-02", edits: ["0\ti\tあ\tC\t¦ah"] };
console.log(patch.edits.length);1What it prints (run when this page was built)