caps
Convert all types of words and letters to capital letters.
Basic setup
Install caps with npm or yarn
npm i caps
Example:
const caps = require('caps');
let inputString = "the quick brown fox jumps over the lazy dog";
let wordsToUppercase = "quick, brown, over";
console.log(caps(inputString, wordsToUppercase));