lepu-test-platform-web/node_modules/param-case/param-case.js

13 lines
225 B
JavaScript
Raw Normal View History

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, '-')
}