Sign in
Join now
witchsky
pyrox.dev
/
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Bluesky app fork with some witchin' additions 💫
forked from
jollywhoppers.com/witchsky.app
Star
Starred
Star
Something went wrong. Try again.
Fork
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
witchsky
/
src
/
lib
/
strings
/
capitalize.ts
96 B
·
3 lines
TypeScript
at
main
Blame
Eric Bailey
·
i18n interests, allow for fallbacks (#2692)
·
2y ago
bb7ce215
1
2
3
4
export
function
capitalize
(
str
:
string
) {
return
str
.
charAt
(
0
)
.
toUpperCase
()
+
str
.
slice
(
1
)
}