A simple CLI tool to count words in a file
Clone the repository and install it globally:
git clone https://github.com/code-pankaj/wcount.git
cd wcount
npm link
Now you can use wcount
from anywhere! π
Run the command followed by the file path:
wcount myfile.txt
Example output:
Total words: 123
β
Accurate word counting
β
Handles multiple spaces & newlines
β
Ignores punctuation
β
Lightweight & fast
Feel free to fork, create issues, or submit PRs!
MIT License