Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
A Complexity Analyzer Tool which computes software complexity for a Javascript project hosted on Github.
Complan
is a node.js based
command-line wrapper around [complexity-report] (https://www.npmjs.com/package/complexity-report) which computes code complexity for a Javascript project hosted on Github.
Assuming you've nodejs installed,
For a project-based install:
npm install complan
For global installation:
sudo npm install -g complan
complan -g <git url>
e.g
complan -g https://github.com/pranavparikh/complan
or
complan -g git@github.com:pranavparikh/complan.git
The above command will generate complexity report (JSON and HTML files) under a directory named pranavparikh/complan
in your current directory.
The tool will locally clone the repository from git (Git has to be installed as a pre-requisite) , compute complexity and output it in a form of JSON & HTML reports.
-h, --help output usage information
-g, --gitUrl <path> specify the http url or the git url of the repository
-c, --gitCheckout Branch / tag / checkout of the git project (Defaults to master)
[MIT]
FAQs
COMPLexity ANalyzer Tool For Javascript
The npm package complan receives a total of 13 weekly downloads. As such, complan popularity was classified as not popular.
We found that complan demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.