UNPKG

kasi

Version:

A collection of functions for working with different casings.

9 lines (8 loc) 199 B
/* IMPORT */ import toLowerCase from './to_lower_case.js'; /* MAIN */ const toKebabCase = (value) => { return toLowerCase(value).replaceAll(' ', '-'); }; /* EXPORT */ export default toKebabCase;