Command Palette

Search for a command to run...

The World's
Localization Encyclopedia

Free, open-source reference for every country's currencies, languages, and date and number formats. Explore it visually or pull it straight into your code.

@localedb/core · @localedb/cli

npm Packages & CLI

Use LocaleDB in your own code: a typed, offline library and a command line tool that writes the data you pick into your project.

npm install @localedb/core
example.ts
import { getCountry } from "@localedb/core";

const tr = getCountry("TR");
tr?.currency.symbol;               // "₺"
tr?.numberFormat.decimalSeparator; // ","
tr?.dateTime.dateFormats.short;    // "d.MM.y"

// or from the command line
// npx @localedb/cli get country TR