UCWORDS for javascript
Uppercase the first character of each word in a string.
const ucwords = require('ucwords');
ucwords('hello world'); // 'Hello World'
Inspired by Jeffrey Way

const ucwords = require('ucwords');
ucwords('hello world'); // 'Hello World'
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.