bw-words-counter-app
v1.0.0
Published
This is a word counter program develop by using TypeScript
Downloads
3
Readme
Words Counter App
This is a command-line Node.js application that allows users to count the number of words in a sentence and optionally count the occurrences of each word.
Features
- Counts the number of words in a sentence.
- Provides an option to count the occurrences of each word in the sentence.
- Supports animated text for an interactive user experience.
Installation
Clone this repository to your local machine:
git clone https://github.com/Bilal-Waleed/Words-Counter-.git
Navigate to the project directory:
bw-words-counter-app
Install the dependencies:
npm install
Usage
Run the application:
npm start
You will be prompted to enter your name. After entering your name, press Enter.
Next, you will be prompted to enter a sentence to count the words. Enter your sentence and press Enter.
The application will display the number of words in the sentence.
You will then be asked if you want to count the occurrences of your words again. Respond accordingly.
Repeat steps 3-5 as desired.
When you're finished, the application will display a thank you message and exit.
Dependencies
- inquirer: A powerful library for handling interactive command-line interfaces.
- chalk: A library for styling console output with colors and styles.
Developer
This application was developed by Bilal Waleed .
Contributing
Contributions are welcome! If you'd like to contribute to this project, feel free to fork the repository and submit a pull request.
License
This project is licensed under the MIT License.
Feel free to customize this README with more specific details about your application or instructions for users. If you have any further questions or need additional assistance, don't hesitate to ask!