Skip to content

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

NameTypeRequiredDescription
generatedURL | stringYesReadonly. The directory holding macros.json from pmds extract --runtime-manifest
and catalogs/<locale>.mjs from pmds catalog compile --target js.
Bundled builds ignore it.

Source entry on GitHub

Last updated: November 1, 2026