gs-codecount
v1.0.1
Published
A fast CLI tool to count lines of code by language
Maintainers
Readme
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-codecountOr run directly using npx:
npx gs-codecount js jsx tsUsage
Count lines for specific file extensions.
gs-codecount js jsxExample:
Lines of Code
js: 3200
jsx: 850
Total: 4050Supported Languages
Any extension can be passed:
gs-codecount js ts jsx py java goExample
Count JavaScript files:
gs-codecount jsCount React project:
gs-codecount js jsx ts tsxFeatures
- Fast file scanning
- Multiple language support
- CLI based
- Works with any project
- Lightweight
Ignore Folders
The tool automatically ignores:
node_modulesDevelopment
Clone repository:
git clone https://github.com/GeetaSystems/gs-codecount
cd gs-codecount
npm installRun locally:
node bin/cli.js js jsxLicense
MIT © Geeta Systems
