README
ts-stats
Gives statistics about your TypeScript files
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