@palamedes/core
v0.3.0
Published
Palamedes-owned i18n instance and macro entry points
Readme
@palamedes/core
Palamedes-owned i18n instance creation and macro entry points.
Use this package when you want to create an app-facing i18n instance that Palamedes owns end to end.
Installation
pnpm add @palamedes/coreMinimal Example
import { createI18n } from "@palamedes/core"
import { setClientI18n } from "@palamedes/runtime"
const i18n = createI18n()
setClientI18n(i18n)For authoring imports, use:
import { t } from "@palamedes/core/macro"