Skip to main content

Built and signed on GitHub Actions

Creates a simple translation object that can use Signals to update the translation when a variable changes.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
4 months ago (0.0.0)
type alias Translation

A map of keys and their (Signal) values in that language

Index Signatures

Add Package

deno add jsr:@signal/i18n

Import symbol

import { type Translation } from "@signal/i18n";

---- OR ----

Import directly with a jsr specifier

import { type Translation } from "jsr:@signal/i18n";

Add Package

npx jsr add @signal/i18n

Import symbol

import { type Translation } from "@signal/i18n";

Add Package

yarn dlx jsr add @signal/i18n

Import symbol

import { type Translation } from "@signal/i18n";

Add Package

pnpm dlx jsr add @signal/i18n

Import symbol

import { type Translation } from "@signal/i18n";

Add Package

bunx jsr add @signal/i18n

Import symbol

import { type Translation } from "@signal/i18n";