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!
⌨ 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.