1.0.3 • Published 10 months ago

akash-word-counter v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Akash Word Counter

A simple command-line tool to count the frequency of words in a text file.

Installation

To install the package globally, use npm:

npm install -g akash-word-counter

Usage

You can use the word-counter command followed by the path to the text file and the word you want to search for. For example:

bash

word-counter example.txt "hello"

Features
Counts the frequency of a specified word in a given text file.
Outputs the frequency count directly to the console.
Contributing
Fork the repository.
Create your feature branch (git checkout -b feature/MyFeature).
Commit your changes (git commit -m 'Add some feature').
Push to the branch (git push origin feature/MyFeature).
Open a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.

bash

### Steps to Upload to npm

1. **Ensure You’re Logged In**:
   Run the following command in your terminal:
   ```bash
   npm whoami
If you see your username, you’re logged in. If not, log in using:
bash
npm login

Create README.md: Save the provided README content into a file named README.md in the root of your project directory.

Check Package Details: Make sure your package.json is correctly set up (as you have already done).

Publish the Package: Now, run the following command in your terminal from the root of your project:

bash
Copy code
npm publish
Verify Publication: After the command runs successfully, you can verify that your package has been published by searching for it on npmjs.com.

Installation by Others: Once published, others can install your package globally with:

bash

npm install -g akash-word-counter

Important Note:
If you get any warnings or errors during publishing, make sure to address them according to the messages you see. For instance, if the package name is already taken, you will need to change the name in your package.json file.
1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago