All Projects → compodoc → ts-stats

compodoc / ts-stats

Licence: MIT license
Gives statistics about your TypeScript files

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

npm badge npm dependencies npm devDependencies MIT badge

ts-stats

Gives statistics about your TypeScript files

ts-stats

Install

Install from npm:

npm install -g @compodoc/ts-stats

Install from Yarn:

yarn global add @compodoc/ts-stats

Usage

Use ts-stats near a tsconfig.json file.

$ ts-stats

CLI Arguments

-v, --version              output the version number
-h, --help                 output usage information
-p, --tsconfig <tsconfig>  TypeScript "tsconfig.json" file (default: tsconfig.json)
-l, --loc                  Lines of code
-f, --files                Files
-d, --decorators           Decorators
-c, --classes              Classes
-i, --interfaces           Interfaces
-m, --imports              Imports
-e, --exports              Exports
-s, --specs                Specs
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].