Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

17
node_modules/es-toolkit/dist/string/upperFirst.mjs generated vendored Normal file
View File

@@ -0,0 +1,17 @@
//#region src/string/upperFirst.ts
/**
* Converts the first character of string to upper case.
*
* @param {string} str - The string that is to be changed
* @returns {string} - The converted string.
*
* @example
* const convertedStr1 = upperFirst('fred') // returns 'Fred'
* const convertedStr2 = upperFirst('Fred') // returns 'Fred'
* const convertedStr3 = upperFirst('FRED') // returns 'FRED'
*/
function upperFirst(str) {
return str.substring(0, 1).toUpperCase() + str.substring(1);
}
//#endregion
export { upperFirst };