https://github.com/jeroenouw/liness
💻🔥CLI to calculate the amount of lines used in your current project
https://github.com/jeroenouw/liness
benchmark calculate cli code-lines javascript lines typescript
Last synced: about 1 year ago
JSON representation
💻🔥CLI to calculate the amount of lines used in your current project
- Host: GitHub
- URL: https://github.com/jeroenouw/liness
- Owner: jeroenouw
- License: mit
- Created: 2020-04-10T14:33:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T03:45:39.000Z (over 3 years ago)
- Last Synced: 2025-03-24T00:42:13.809Z (about 1 year ago)
- Topics: benchmark, calculate, cli, code-lines, javascript, lines, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/liness
- Size: 442 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# liness - CLI to calculate amount of lines used in your current project
[](https://github.com/jeroenouw/liness)
[](https://github.com/jeroenouw/liness/blob/master/LICENSE/)
[](https://github.com/jeroenouw/liness)
CLI to calculate amount of lines used in your current project. This project has 99+% type coverage checked by [tscov](https://github.com/jeroenouw/liftr-tscov).
## Checks
* Total lines
* Written lines
* Empty lines
* Total files
* Percentages
## Quickstart
Install the liness CLI as a global CLI.
```shell
npm install -g liness
cd
# Then you run
liness
```
Or just use via npx:
```shell
cd
# Then you run
npx liness
```
This should start the CLI and calculate all the lines
## Example
```shell
_ _
| | (_) _ __ ___ ___ ___
| | | | | '_ \ / _ \ / __| / __|
| | | | | | | | | __/ \__ \ \__ \
|_| |_| |_| |_| \___| |___/ |___/
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
```