Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.47 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.47 KB

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