UNPKG

@visulima/string

Version:

Functions for manipulating strings.

10 lines (7 loc) 471 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 snakeCase = /* @__PURE__ */ __name((value, options) => kebabCase(value, { cacheStore: defaultCacheStore, ...options, joiner: "_" }), "snakeCase"); export { snakeCase as default };