ucwords

Uppercase the first character of each word in a string

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
ucwords
801.0.55 years ago7 years agoMinified + gzip package size for ucwords in KB

Readme

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