This is a simple cli tool that counts the number of directories, files and lines that code your codebase consists of using a recursive function. All dot files / directories
, images
and the node_modules
are ignored.
- Node JS
- Typescript
Fist install the package:
npm i -g codebase-stats@latest
Then navigate to the project you want to get the stats for:
cd path/to/project
Finally, run the following command to get the stats:
npx codebase-stats