nodejs-echo
v4.0.4
Published
HTTPs requests debugging tool for nodejs
Downloads
152
Readme
NodeJS Echo
Network debugging tool
NodeJS Echo provides an easy way to monitor requests from your nodejs application.
Installation
npm install nodejs-echo --save-dev
Usage
Import start
command from package and execute it in the very beginning of your program. This will start the static server and provide exact link to the web interface in the stdout.
const { start } = require('nodejs-echo');
start({ port: 4900, secret: 'any-string' });
Parameter
secret
is optional but highly recommended to use in public networks;
The correct way to do so - place the above code in a separate file (e.g. echo.js) and import it in your application's entry point (e.g. index.js).
require('./echo.js');
// your code...