All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.pascal-case.pascal-case.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
var camelCase = require('camel-case')
var upperCaseFirst = require('upper-case-first')

/**
 * Pascal case a string.
 *
 * @param  {string}  value
 * @param  {string}  [locale]
 * @param  {boolean} [mergeNumbers]
 * @return {string}
 */
module.exports = function (value, locale, mergeNumbers) {
  return upperCaseFirst(camelCase(value, locale, mergeNumbers), locale)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy