Package Exports
- capitalization-first-letters-sentence
- capitalization-first-letters-sentence/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (capitalization-first-letters-sentence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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);