text-dot-case
Version:
Convert into a lower case text with a period between words
14 lines (13 loc) • 375 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.dotCase = dotCase;
const text_no_case_1 = require("text-no-case");
function dotCase(input, options = {}) {
// Handle null/undefined inputs gracefully
if (!input)
return "";
return (0, text_no_case_1.noCase)(input, {
delimiter: ".",
...options,
});
}
;