/linezz

Simple javascript tool for counting lines in project

Primary LanguageJavaScript

Linezz

Simple, fast and light tool for counting code lines in entire directory (with subdirs) or just a file.

Compatible with Node.js 10.x +

Install

npm install -g linezz

Use

linezz <your-dir-or-file>

Or use in directory without arguments

cd <your-dir>
linezz

Or use several paths

linezz <dir-or-file> <dir-or-file> <etc...>

Npx

Also, you can use npx instead

npx linezz <your-dir-or-file>

Tests

# Clone project
git clone https://github.com/BabkinAleksandr/linezz.git

# Go to cloned project
cd linezz

# Install dev dependencies
npm i

# Run script
npm run test