This is a tool for counting words in a sentance. Word Counter is a simple tool that counts the number of words in a given text.
Features Word Count: Counts the total number of words in the provided text. Character Count: Optionally counts the total number of characters in the text. Whitespace Handling: Handles leading, trailing, and multiple consecutive whitespaces properly. Features Accurate Word Count: Counts the total number of words in the provided text input. Optional Character Count: Can also provide the total number of characters in the text. Whitespace Handling: Handles leading, trailing, and multiple consecutive whitespaces intelligently. TypeScript: Written in TypeScript for type safety and maintainability. Tested: Includes a comprehensive test suite to ensure functionality and reliability. Usage Installation: Download the source code: https://github.com/Shumailaaijaz/Word_Counter. Contributing Contributions are welcome! your feedback will be appreciated.
Acknowledgments This project was inspired by Sir Asharib Ali project.