Files
cannaiq/frontend/node_modules/es-toolkit/dist/string/constantCase.js
2025-11-28 19:45:44 -07:00

13 lines
296 B
JavaScript

'use strict';
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const words = require('./words.js');
function constantCase(str) {
const words$1 = words.words(str);
return words$1.map(word => word.toUpperCase()).join('_');
}
exports.constantCase = constantCase;