1.0.0 • Published 2 years ago
@psychomantis/capitalizer v1.0.0
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?
1.0.0
2 years ago