@psychomantis/capitalizer
v1.0.0
Published
Capitalizing text
Downloads
3
Readme
capitalizer
Capitalize a string or all words in a string.
Installation ⚙️
$ npm install --save @psychomantis/capitalizer
How to use ⚒️
const capitalizer = require('@psychomantis/capitalizer')
const word = "hello"
const text = "hello, how are you?"
capitalizer(text) // Output: Hello
capitalizer(text) // Output: Hello, How Are You?