@psychomantis/capitalizer

1.0.0 • Public • Published

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?

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @psychomantis/capitalizer

      Weekly Downloads

      0

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      1.1 kB

      Total Files

      3

      Last publish

      Collaborators

      • psychomantis