Skip to content

h26k2/capitalize-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple JavaScript Module for Capitalizing Text

capitalize-text is a lightweight, easy to use module for capitalizing your inputted string.

How to use Module

  • Install the module from npm using following command
    • npm install capitalize-text
  • Import the module from where you want
    • const capitalize = require('capitalize-text')

Example Code

const capitalize = require('capitalize-text');

let capitalizedString = capitalize("Hello world! this is just a demo text");