cli_based_word_counter
v1.0.0
Published
A command-line application to count the number of characters (excluding spaces) in a given paragraph using TypeScript.
Downloads
2
Readme
# Word Counter
A command-line application to count the number of characters (excluding spaces) in a given paragraph using TypeScript.
## Features
- Prompts the user to input a paragraph
- Counts the number of characters in the paragraph excluding spaces
## Version
This is version 1.0.0 of the Word Counter program.
## Installation
1. Clone the repository:
```sh
git clone https://github.com/M-Ehtesham-Ul-Hassan-Malik/TypeScript.git
cd 05_Word_Counter
Install dependencies:
npm install inquirer
Make the script executable:
chmod +x index.js
Usage
Run the application:
./index.js
Follow the prompt to input a paragraph, and the program will display the number of characters excluding spaces.
Example
$ ./index.js
? write paragraph to count words: This is an example paragraph.
26
License
This project is licensed under the MIT License - see the LICENSE file for details.