Runtime / node: NodeI18nSetup
Functions, types, and exports for Runtime / node: NodeI18nSetup.
Page outline
Where the generated runtime-macro files live when the code runs without a bundler.
import type { NodeI18nSetup } from "@palamedes/runtime/node"
type NodeI18nSetup = {
/**
* The directory holding `macros.json` from `pmds extract --runtime-manifest`
* and `catalogs/<locale>.mjs` from `pmds catalog compile --target js`.
* Bundled builds ignore it.
*/
readonly generated: URL | string;
};
Properties
| Name | Type | Required | Description |
|---|---|---|---|
generated | URL | string | Yes | Readonly. The directory holding macros.json from pmds extract --runtime-manifestand catalogs/<locale>.mjs from pmds catalog compile --target js.Bundled builds ignore it. |
Last updated: November 1, 2026