plato-as-service

Web-Service for plato - JavaScript source code visualization, static analysis, and complexity tool

npm install plato-as-service
14 downloads in the last week
24 downloads in the last month

plato-as-service

Web-Service for plato - JavaScript source code visualization, static analysis, and complexity tool.

Important

Node.js 0.10.x is required to run plato-as-service due to Streams2 issues.

Installation

plato-as-service can be installed using npm:

npm install plato-as-service

Run

var server = require('plato-as-service');

server({
    hostname: 'github.com',
    badgeService: 'img.shields.io',
    reports: __dirname + '/reports',
    maxConcurrent: 50,                // max concurrent unzip processes
    maxConcurrentQueue: Infinity,
    ttl: 60 * 15 * 1000               // report ttl
}).listen(8080);

Url format

/you/your-repo/master/
/you/your-repo/master/sloc.png
/you/your-repo/master/maintainability.png

This video shows the work of plato-as-service.

npm loves you