loc.js is a simple, no dependencies command line tool that counts the number of lines in a project.
Use other verions at own risk
- node >= 12.x.x
npm i -g @snts.abode/loc.js
Might have to use sudo on unix systems
sudo npm i -g @snts.abode/loc.js
cd loc.js
yarn i
If the above command doesn't work due to admin privileges (unix system), try
cd loc.js
yarn i:sudo
cd my-project
loc.js <options>
-
-y
or--yes
- (boolean
): Don't ask any questions. -
-p
or--paths
- (string[]
): Enter paths loc should work in, relative to the cwd. -
-l
or--log
- (y
|n
): Whether or not the process should log.
👤 Sihle Masebuku snts.abode@gmail.com
Give a ⭐️ if this project helped you!