1.0.0 • Published 2 years ago

@psychomantis/capitalizer v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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?