Capitalize the first letter of the sentence and word(s). Use to make the first letter of a sentence or words capital .
npm i firstcapital
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
Mohit Kapoor -@2cool2envy - kapoormohit01@gmail.com
https://nodejs.org/en/download
eMail : kapoormohit01@gmail.com