Skip to content

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.

jrukundo256/sentence-caser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Sentence Caser

npm license

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"

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published