capitalize-words-regex-function

1.0.5 • Public • Published

capitalize-words

Function that capitalizes the first letter of each word in a string

Example uses:

const capitalizeFn = require('capitalize-words-regex-function');

console.log(capitalizeFn('you are my best capitalize package')) // You Are My Best Capitalize Package

Package Sidebar

Install

npm i capitalize-words-regex-function

Weekly Downloads

0

Version

1.0.5

License

ISC

Unpacked Size

1.53 kB

Total Files

3

Last publish

Collaborators

  • vikashnpmjs