1. to-sentence-case
Convert a string to sentence case.
to-sentence-case
Package: to-sentence-case
Created by: ianstormtaylor
Last modified: Mon, 27 Jun 2022 07:24:46 GMT
Version: 1.0.0
License: MIT
Downloads: 73,269
Repository: https://github.com/ianstormtaylor/to-sentence-case

Install

npm install to-sentence-case
yarn add to-sentence-case

to-sentence-case

Convert a string to a sentence case.

Installation

$ component install ianstormtaylor/to-sentence-case

Example

 var sentence = require('to-sentence-case');

sentence('the catcher in the rye'); 
// "The catcher in the rye"

API

toSentenceCase(string)

Returns the sentence-case variant of a string.

License

MIT

Dependencies

Dependencies

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code