Skip to content

💻🔥CLI to calculate the amount of lines used in your current project

License

Notifications You must be signed in to change notification settings

jeroenouw/liness

Repository files navigation

liness - CLI to calculate amount of lines used in your current project

npmversion npmlicense downloads

CLI to calculate amount of lines used in your current project. This project has 99+% type coverage checked by tscov.

Checks

  • Total lines
  • Written lines
  • Empty lines
  • Total files
  • Percentages

Quickstart

Install the liness CLI as a global CLI.

npm install -g liness

cd <your-repo-location>

# Then you run
liness

Or just use via npx:

cd <your-repo-location>

# Then you run
npx liness

This should start the CLI and calculate all the lines

Example

  _   _
 | | (_)  _ __     ___   ___   ___
 | | | | | '_ \   / _ \ / __| / __|
 | | | | | | | | |  __/ \__ \ \__ \
 |_| |_| |_| |_|  \___| |___/ |___/

CLI to calculate amount of lines used in your current project

158195 - total lines (100.00%)
152509 - written lines (96.41%)
5686 - empty lines (3.59%)

12598 - total files, checked in 10.3390s