@visulima/string
Version:
Functions for manipulating strings.
9 lines (7 loc) • 458 B
JavaScript
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");
export { generateCacheKey as g };