0.0.1 • Published 8 months ago

moses-text-case-formatter v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

textCaseFormatter

textCaseFormatter is a JavaScript utility library for formatting strings with proper casing. It provides functions to convert text to title case, sentence case, or lowercase, making it easier to display text in a polished and consistent manner in your applications.

Installation

You can install textCaseFormatter using npm or yarn:

npm install string-formatter OR yarn add string-formatter

To use textCaseFormatter in your JavaScript/Node.js project, require it as follows:

const stringFormatter = require('string-formatter');

Example of Usage

const inputString = "hello. This is a sample SENTENCE. ANOTHER sentence here.";

const formattedResult = stringFormatter.sentenceCase(inputString); console.log(formattedResult);

Acknowledgments

Special thanks to contributors who have helped improve this project.

Issues and Contributions

If you encounter any issues or have suggestions for improvement, please open an issue or consider contributing by submitting a pull request.

Author

Moses Musoke Thanks.