0.5.0-beta • Published 6 years ago

slye-analysis v0.5.0-beta

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

SlyeAnalysis

Slye's analysis panel

SlyeAnalysis

Running server

Install the server globally:

sudo npm install -g slye-analysis

and then start the server:

slye-analysis

It will starts a TCP server listing at 9898 and HTTP Server for Human-Interface at 9899

Use with express:

main.js

var express = require('express');
var SlyeAnalysis = require('SlyeAnalysis')('127.0.0.1', 9898, 'myAwesomeApp')
var app = express();
app.set('Analysis', SlyeAnalysis)

somewhere else:

app.get('/someWhere', function(req, res, next){
    ...
    req.app.get('Analysis').view('req', 'my.awsome.endpoint')
    ...
})