/ucwords-js

Uppercase the first character of each word in a string

Primary LanguageJavaScriptMIT LicenseMIT

UCWORDS for javascript

Build Status Latest Stable Version Total Downloads License

Uppercase the first character of each word in a string.

const ucwords = require('ucwords');
ucwords('hello world'); // 'Hello World'

Inspired by Jeffrey Way

tweet