Execute command:
-
If you install package locally.
npx count file_path
-
If you install package globally with flag
-g
or--global
.count file_path
-
If you want to search a specific word in a file,
npx count file_path target_word
Execute command:
If you install package locally.
npx count file_path
If you install package globally with flag -g
or --global
.
count file_path
If you want to search a specific word in a file,
npx count file_path target_word
npm i word-counter-pkg
2
1.0.4
ISC
1.4 kB
3