Web-Service for plato - JavaScript source code visualization, static analysis, and complexity tool.
Node.js 0.10.x is required to run plato-as-service
due to Streams2 issues.
plato-as-service
can be installed using npm
:
npm install plato-as-service
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);
/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.