sentence-caser
v1.0.2
Published
A lightweight utility to convert strings to sentence case, ensuring the first letter of each word is capitalized, and the remaining characters are in lowercase.
Downloads
1
Readme
Sentence Caser
Sentence Caser is a lightweight, easy-to-use npm package that converts strings to sentence case, ensuring proper capitalization and formatting.
Installation
Use the package manager npm to install Sentence Caser.
## Usage
npm install sentence-caser
const sentenceCaser = require('sentence-caser');
const myString = "joNathan ruKUNDO";
const convertedString = sentenceCaser(myString);
console.log(convertedString); // Outputs: "Jonathan Rukundo"