2025-04-02 06:50:39 -04:00

13 lines
228 B
JavaScript

var noCase = require('no-case');
/**
* Param case a string.
*
* @param {string} value
* @param {string} [locale]
* @return {string}
*/
module.exports = function (value, locale) {
return noCase(value, locale, '-');
};