mirror of
https://github.com/uetchy/namae.git
synced 2025-08-20 18:08:11 +09:00
feat: alternatives
This commit is contained in:
3
src/util/text.js
Normal file
3
src/util/text.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export function capitalize(text) {
|
||||
return text[0].toUpperCase() + text.slice(1)
|
||||
}
|
Reference in New Issue
Block a user