UNPKG

@intlayer/config

Version:

Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.

23 lines (22 loc) 2.1 kB
import { getExtension } from "./getExtension.mjs"; import { normalizePath } from "./normalizePath.mjs"; import { getAlias } from "./alias.mjs"; import { cacheMemory, clearAllCache, clearCache, computeKeyId, getCache, setCache, stableStringify } from "./cacheMemory.mjs"; import { cacheDisk, clearDiskCacheMemory } from "./cacheDisk.mjs"; import { getPackageJsonPath } from "./getPackageJsonPath.mjs"; import { configESMxCJSRequire, getProjectRequire, isESModule } from "./ESMxCJSHelpers.mjs"; import { clearModuleCache } from "./clearModuleCache.mjs"; import { compareVersions } from "./compareVersions.mjs"; import { extractErrorMessage } from "./extractErrorMessage.mjs"; import { getStorageAttributes } from "./getStorageAttributes.mjs"; import { getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync } from "./getUsedNodeTypes.mjs"; import { logStack } from "./logStack.mjs"; import { parseFilePathPattern, parseStringPattern } from "./parseFilePathPattern.mjs"; import { assertPathWithin } from "./pathSecurity.mjs"; import { retryManager } from "./retryManager.mjs"; import { setIntlayerIdentifier } from "./setIntlayerIdentifier.mjs"; import { camelCaseToKebabCase } from "./stringFormatter/camelCaseToKebabCase.mjs"; import { camelCaseToSentence } from "./stringFormatter/camelCaseToSentence.mjs"; import { kebabCaseToCamelCase } from "./stringFormatter/kebabCaseToCamelCase.mjs"; import { toLowerCamelCase } from "./stringFormatter/toLowerCamelCase.mjs"; export { assertPathWithin, cacheDisk, cacheMemory, camelCaseToKebabCase, camelCaseToSentence, clearAllCache, clearCache, clearDiskCacheMemory, clearModuleCache, compareVersions, computeKeyId, configESMxCJSRequire, extractErrorMessage, getAlias, getCache, getExtension, getPackageJsonPath, getProjectRequire, getStorageAttributes, getUnusedNodeTypes, getUnusedNodeTypesAsync, getUsedNodeTypes, getUsedNodeTypesAsync, isESModule, kebabCaseToCamelCase, logStack, normalizePath, parseFilePathPattern, parseStringPattern, retryManager, setCache, setIntlayerIdentifier, stableStringify, toLowerCamelCase };