Clean Code

Clean Code to rescue! CLI tool for helping to keep clean code of Angular/Typescript applications.

Prerequisites

CLI have dependencies that require Node 6.9.0 or higher.

Installation

npm install -g cleancode

Usage

cleancode [DIR or FILE_PATH] cleancode ./src/app cleancode ./src/app/foo.ts

Output

// per class Class lines (Number of class lines) Public methods (Number of public methods) Private methods (Number of private methods) Dependencies (Number of dependencies) Method lines (Max and average number of method lines)

License

MIT