Skip to content

GeetaSystems/gs-codecount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gs-codecount

A simple and fast CLI tool to count Lines of Code (LOC) in a project by language.

Created by Geeta Systems.

Installation

Install globally:

npm install -g gs-codecount

Or run directly using npx:

npx gs-codecount js jsx ts

Usage

Count lines for specific file extensions.

gs-codecount js jsx

Example:

Lines of Code

js: 3200
jsx: 850

Total: 4050

Supported Languages

Any extension can be passed:

gs-codecount js ts jsx py java go

Example

Count JavaScript files:

gs-codecount js

Count React project:

gs-codecount js jsx ts tsx

Features

  • Fast file scanning
  • Multiple language support
  • CLI based
  • Works with any project
  • Lightweight

Ignore Folders

The tool automatically ignores:

node_modules

Development

Clone repository:

git clone https://github.com/GeetaSystems/gs-codecount
cd gs-codecount
npm install

Run locally:

node bin/cli.js js jsx

License

MIT © Geeta Systems

About

A simple and fast package to find how many line of code you wrote.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors