1.0.0 • Published 8 months ago

capitalization-first-letters-sentence v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

capitalization-first-letters-sentence

A simple utility to capitalize the first letter of each sentence in a text.

Installation

To install the package, run the following command:

npm install capitalization-first-letters-sentence

Usage

Once the package is installed, you can use it in your JavaScript code by importing it.

import capitalizeFirstLetters from 'capitalization-first-letters-sentence';

const text = "hello world! how are you? this is a test.";
const result = capitalizeFirstLetters(text);
console.log(result);  
1.0.0

8 months ago