console-mirror
v2.1.0
Published
mirror the server console to a web client
Downloads
26
Readme
console-mirror
Drop in fontend for apps without one! Mirrors the server-side console output to the client side.
Usage
require('console-mirror')().listen();
Config
With an existing express server:
let app = express();
require('console-mirror')({ app });
To serve the console on a different path:
// console will served at /console/
require('console-mirror')({ clientPath: 'console' });
To serve the entire console on a sub-path:
let app = express();
// console will served at /console/
app.use('/console', require('console-mirror')());