Skip to content

capitalize

Capitalize the first word of the string.

Usage

capitalize("hello"); // => 'Hello'
capitalize("va va voom"); // => 'Va va voom'

Installation

Terminal window
npx atmx add helper capitalize