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.txtExample 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