Açıklama Yok

pascal-case.js 306B

12345678910111213
  1. var camelCase = require('camel-case')
  2. var upperCaseFirst = require('upper-case-first')
  3. /**
  4. * Pascal case a string.
  5. *
  6. * @param {String} string
  7. * @param {String} [locale]
  8. * @return {String}
  9. */
  10. module.exports = function (string, locale) {
  11. return upperCaseFirst(camelCase(string, locale), locale)
  12. }