UNPKG

@visulima/string

Version:

Functions for manipulating strings.

12 lines (8 loc) 504 B
'use strict'; const LRUCache = require('../packem_shared/LRUCache-Crb-m7cw.cjs'); const case_kebabCase = require('./kebab-case.cjs'); var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); const defaultCacheStore = new LRUCache(1e3); const pathCase = /* @__PURE__ */ __name((value, options) => case_kebabCase.kebabCase(value, { cacheStore: defaultCacheStore, ...options, joiner: "/" }), "pathCase"); module.exports = pathCase;