naoc
v1.0.3
Published
Naoc to rescue! CLI Tool for creating statistics of your js application. Create stats of functions, variables, classes, loops and more other cool stuff in your project!
Downloads
2
Readme
Naoc JS
Naoc to rescue! CLI Tool for creating statistics of your js application. Create stats of functions, variables, classes, loops and more other cool stuff in your project!
Note
This project is new, therefore some minor bugs could show up.
Prerequisites
CLI have dependencies that require Node 6.9.0 or higher.
Table of Contents
Installation
npm install -g naoc
Usage
naoc ${DIR or FILE path} ${CONFIGURATION_JSON_FILE_PATH} - not required
Configuration
You can put JSON configuration file as second argument with this setup.
{
"include": [".ts"],
"exclude": [".spec.ts", ".d.ts"]
}
Example
naoc some_project_folder/src/app
Output will be:
FINAL SUMMARY for folder: app/
General
0 class definitions
356 line of codes
Functions
37 functions
0 callback functions
Variables and constants
25 constans
3 ES6 "let" variables
0 ES5 "var" variables
Loops and conditions
0 "while" loop
2 "for" loop
17 "if" statements
License
MIT