GT2/GT2-iOS/node_modules/dot-case/dot-case.js

13 lines
244 B
JavaScript

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