This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
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, '-')
|
|
}
|