capitalizefirstletterofwords

1.0.6 • Public • Published

Capitalize first letter of each word in a string.

Installation

npm i capitalizefirstletterofwords --save

Synopsis

Capitalize first letter of each word in a string:

const capitalizeAllWords = require("capitalizefirstletterofwords");

capitalizeAllWords("lorem ipsum is simply dummy"); //=> "Lorem Ipsum Is Simply Dummy"

capitalizeAllWords("hello there"); //=> "Hello There"

License

MIT

Package Sidebar

Install

npm i capitalizefirstletterofwords

Weekly Downloads

4

Version

1.0.6

License

ISC

Unpacked Size

997 B

Total Files

3

Last publish

Collaborators

  • superiqbal7