1.0.6 • Published 1 year ago

ts-ucfirst v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago