Gives statistics about your TypeScript files
Install from npm:
npm install -g @compodoc/ts-stats
Install from Yarn:
yarn global add @compodoc/ts-stats
Use ts-stats
near a tsconfig.json
file.
$ ts-stats
-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