UNPKG

@visulima/string

Version:

Functions for manipulating strings.

10 lines (7 loc) 499 B
import LRUCache from '../packem_shared/LRUCache-udNErhWw.mjs'; import { kebabCase } from './kebab-case.mjs'; var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); const defaultCacheStore = new LRUCache(1e3); const constantCase = /* @__PURE__ */ __name((value, options) => kebabCase(value, { cacheStore: defaultCacheStore, ...options, joiner: "_", toUpperCase: true }), "constantCase"); export { constantCase as default };