@compodoc/ts-stats

Gets interesting statistics about any TypeScript application

Stats

StarsIssuesVersionUpdatedCreatedSize
@compodoc/ts-stats
4791.1.14 years ago4 years agoMinified + gzip package size for @compodoc/ts-stats in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.