Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 508 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 508 Bytes

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");