1.0.1 • Published 4 years ago

@schlandower/ucfirst v1.0.1

Weekly downloads
1
License
GPL-3.0
Repository
gitlab
Last release
4 years ago

ucfirst

Uppercase first letter of the first word in a string, or uppercase the first letter on the the first word for each entry in an array. Example: require('@schlandower/ucfirst'); var str = 'this is the test string'; str.ucFirst(); Result: This is the test stringResult

str.split(' ').ucFirst().join(' '); Result: This Is The Test String

1.0.1

4 years ago