Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/localekit/mod.ts

A translation plugin for Deno
Latest
import * as localekit from "https://deno.land/x/localekit@2.2.0/mod.ts";

Classes

The main translation/language class. This handles storage of languages, translation/replacement of dynamic substrings, and the ability to add new languages.

Variables

Checks if a value is an array.

Checks if a value is a BigInt.

Checks if a value is a boolean.

Checks if a value is a function.

Checks if a value is a Map.

Checks if a value is null.

Checks if a value is a number.

Checks if a value is an object.

Checks if a value is a string.

Checks if a value is truthy.

Checks if a value is undefined.

Functions

Formats a string by replacing dynamic placeholders with corresponding values from the provided data object.

Formats a string by replacing dynamic placeholders with corresponding values from the provided data object.

Type Aliases

Represents the type for the arguments of a function.

Represents a potentially depply nested object of functions.

Represents a function type with optional generic parameters.