GT2/GT2-Android/node_modules/param-case/param-case.js

13 lines
246 B
JavaScript

var sentenceCase = require('sentence-case')
/**
* Param case a string.
*
* @param {String} string
* @param {String} [locale]
* @return {String}
*/
module.exports = function (string, locale) {
return sentenceCase(string, locale, '-')
}