firstcapital

1.0.5 • Public • Published

Functionality

Capitalize the first letter of the sentence and word(s). Use to make the first letter of a sentence or words capital .

Installation

npm i firstcapital

Usage

Example 1
var sample = require('firstcapital')
sample.firstCap("if you want to shine like a sun, first burn like a sun")

Response : "If you want to shine like a sun, first burn like a sun"
Response type : String

Example 2
var sample = require('firstcapital')
sample.onlyFirstCap("tHE qUiCk broWN FoX juMpS ovEr THE laZy DoG")

Response : "The quick brown fox jumps over the lazy dog"
Response type : String

Contributor(s)

Mohit Kapoor -@2cool2envy - kapoormohit01@gmail.com

Install NodeJS in your system

https://nodejs.org/en/download

Let's together make it more better

eMail : kapoormohit01@gmail.com

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i firstcapital

      Weekly Downloads

      0

      Version

      1.0.5

      License

      ISC

      Unpacked Size

      2.24 kB

      Total Files

      4

      Last publish

      Collaborators

      • 2cool2envy