Word Counter CLI is a simple TypeScript console application that allows you to enter or paste a text and get the length of the text in characters.
- Accepts user input via the console
- Displays the length of the entered text in characters
First, ensure you have Node.js and npm installed. Then, you can install the package using npm:
npm word-counter-tool-cli
To use the Word Counter CLI, run the following command in your terminal:
npx word-counter-tool-cli
You will be prompted to enter or paste your text. After entering your text, the application will display the length of the text in characters.
npx word-counter-tool-cli
? Enter or paste your text: Hello, world!
Received text: Hello, world!
The length of words is 13 characters
Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.
This project is licensed under the MIT License.