https://github.com/cieslarmichal/ncloc
Node.js command line tool for counting lines of code.
https://github.com/cieslarmichal/ncloc
cli cloc count-lines count-lines-of-code node-cli
Last synced: 4 months ago
JSON representation
Node.js command line tool for counting lines of code.
- Host: GitHub
- URL: https://github.com/cieslarmichal/ncloc
- Owner: cieslarmichal
- License: mit
- Created: 2023-08-29T23:22:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-09T12:40:00.000Z (over 2 years ago)
- Last Synced: 2025-10-11T03:35:10.043Z (8 months ago)
- Topics: cli, cloc, count-lines, count-lines-of-code, node-cli
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/ncloc
- Size: 475 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NCloc
A cli written in Node.js inspired by [cloc](https://github.com/AlDanial/cloc) to count the lines of source code.
## Installation
```
npm i -g ncloc
```
## Basic example

## Excluding directories

## Flags
```
ncloc
Positionals:
input Directory/file path to count lines in
Flags:
-e, --exclude Directories/files paths to be excluded from counting
--help Show help
```
## Supported languages
To show all supported languages use the subcommand `languages`
