command for counting lines in a project. counts lines in files with the extension .json, .js, .html, .xml, .ts; excludes the folders node_modules, typings, dist, dev, prod, docs, lib, test, tmp.
installation
Install lines-counter globally with the following command:
npm i lines-counter -g
usage
$ line-counter [path]
example usage
cd to the directory where you would like to read files. lines-counter scans the directory and sub-directories.
$ lines-counter ./myFile.js 102
102 lines
author
Goroshik, polpalawin@gmail.com