node_modules.constant-case.constant-case.js Maven / Gradle / Ivy
var upperCase = require('upper-case')
var snakeCase = require('snake-case')
/**
* Constant case a string.
*
* @param {string} value
* @param {string} [locale]
* @return {string}
*/
module.exports = function (value, locale) {
return upperCase(snakeCase(value, locale), locale)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy