Command Palette

Search for a command to run...

दुनिया का
स्थानीयकरण विश्वकोश

हर देश की मुद्राओं, भाषाओं और तारीख व संख्या प्रारूपों का निःशुल्क, ओपन-सोर्स संदर्भ। इसे विज़ुअली एक्सप्लोर करें या सीधे अपने कोड में इस्तेमाल करें।

@localedb/core · @localedb/cli

npm पैकेज और CLI

LocaleDB को अपने कोड में इस्तेमाल करें: एक टाइप की गई लाइब्रेरी जो ऑफ़लाइन काम करती है, और एक कमांड लाइन टूल जो आपका चुना हुआ डेटा आपके प्रोजेक्ट में लिखता है।

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