A simple and fast CLI tool to count Lines of Code (LOC) in a project by language.
Created by Geeta Systems.
Install globally:
npm install -g gs-codecountOr run directly using npx:
npx gs-codecount js jsx tsCount lines for specific file extensions.
gs-codecount js jsxExample:
Lines of Code
js: 3200
jsx: 850
Total: 4050
Any extension can be passed:
gs-codecount js ts jsx py java go
Count JavaScript files:
gs-codecount jsCount React project:
gs-codecount js jsx ts tsx- Fast file scanning
- Multiple language support
- CLI based
- Works with any project
- Lightweight
The tool automatically ignores:
node_modules
Clone repository:
git clone https://github.com/GeetaSystems/gs-codecount
cd gs-codecount
npm installRun locally:
node bin/cli.js js jsxMIT © Geeta Systems