Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 691 Bytes

README.md

File metadata and controls

33 lines (29 loc) · 691 Bytes

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')
    ...
})