UNPKG

@visulima/string

Version:

Functions for manipulating strings.

11 lines (8 loc) 484 B
'use strict'; var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); const generateCacheKey = /* @__PURE__ */ __name((value, options) => ( // Only include options that affect the output `${value}::${options?.joiner ?? ""}::${options?.locale ?? ""}::${options?.knownAcronyms?.join(",") ?? ""}::${options?.normalize ? "true" : "false"}` ), "generateCacheKey"); exports.generateCacheKey = generateCacheKey;