@intlayer/core
Version:
Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.
15 lines (14 loc) • 1.05 kB
JavaScript
import { localeResolver } from "./localeResolver.mjs";
import { localeDetector } from "./localeDetector.mjs";
import { getBrowserLocale, localeStorageOptions } from "./getBrowserLocale.mjs";
import { getHTMLTextDir } from "./getHTMLTextDir.mjs";
import { getLocaleFromPath } from "./getLocaleFromPath.mjs";
import { getLocaleLang } from "./getLocaleLang.mjs";
import { getLocaleName } from "./getLocaleName.mjs";
import { getPathWithoutLocale } from "./getPathWithoutLocale.mjs";
import { getPrefix } from "./getPrefix.mjs";
import { getLocalizedUrl } from "./getLocalizedUrl.mjs";
import { getMultilingualUrls } from "./getMultilingualUrls.mjs";
import { localeFlatMap, localeMap, localeRecord } from "./localeMapper.mjs";
import { validatePrefix } from "./validatePrefix.mjs";
export { getBrowserLocale, getHTMLTextDir, getLocaleFromPath, getLocaleLang, getLocaleName, getLocalizedUrl, getMultilingualUrls, getPathWithoutLocale, getPrefix, localeDetector, localeFlatMap, localeMap, localeRecord, localeResolver, localeStorageOptions, validatePrefix };