@saqib40/wc-tool
v1.0.1
Published
A command-line tool built with Node.js and TypeScript to count the number of lines, words, and bytes in a file.
Downloads
5
Readme
WC Tool
A command-line tool built with Node.js and TypeScript to count the number of lines, words, and bytes in a file.
Installation
To install it globally
npm install -g @saqib40/wc-tool
To install it locally
npm install @saqib40/wc-tool
Usage
To count lines
ccwc -l myFile.txt
To count words
ccwc -w myFile.txt
To count bytes
ccwc -c myFile.txt
To count lines, words, and bytes
ccwc myFile.txt