1.0.6 • Published 2 years ago

ts-ucfirst v1.0.6

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

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago