/capitalize-text

A lightweight npm package for capitalizing string !

Primary LanguageJavaScript

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