UNPKG

text-path-case

Version:

Convert into a lower case text with slashes between words

14 lines (13 loc) 382 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pathCase = pathCase; const text_dot_case_1 = require("text-dot-case"); function pathCase(input, options = {}) { // Handle null/undefined inputs gracefully if (!input) return ""; return (0, text_dot_case_1.dotCase)(input, { delimiter: "/", ...options, }); }