An open API service indexing awesome lists of open source software.

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.

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

![Screenshot](resources/basic_usage.png)

## Excluding directories

![Screenshot](resources/excluding_usage.png)

## 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`

![Screenshot](resources/languages.png)