Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@jhonathannc/strformatter

jhonathannc13MIT0.0.4

string formatter for capitalize sentences

text-formatter, string, formatter, string-formatter, sentence-formatter, sentence

readme

stringformatter

npm package for format senteces

📋 Usage

Pass your unformatted sentece to the method in package and obtain the formatted sentence.
Ex: 
Input: My uNfoRmated. seNTeNe coMINg oF. my OWN aPi.
Output: My unformated. Sentence coming of. My own api.
Thats all!

strformatter

⌨ How to use

Very simples. Assumig you already havt the nodejs installed, do so: 

# Installing package
npm i @jhonathannc/strformatter

# Import the package in your js file:
const strformatter = require('@jhonathannc/strformatter')

# Calling the format method and getting the formatted string
str.formatStr(str).formattedStr

Like this package? Give a star. Regards.