1.0.6 • Published 3 years ago

ts-ucfirst v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

ts-ucfirst npm Version workflow

Uppercase first character of a string in case you are too lazy to do it yourself

Example:

const ucfirst = require("ts-ucfirst");
ucfirst('hello world'); // 'Hello world'

Example to capitalize each word of a sentence:

const ucfirst = require("ts-ucfirst");
const sentence = "sentence to be all capitalized"
sentence.split(' ').map(ucfirst).join(' '); // 'Sentence To Be All Capitalized'  
1.0.6

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago