nodejs-echo
TypeScript icon, indicating that this package has built-in type declarations

4.0.4 • Public • Published

NodeJS Echo

Network debugging tool

NodeJS Echo provides an easy way to monitor requests from your nodejs application.

list view

request view

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...

Readme

Keywords

Package Sidebar

Install

npm i nodejs-echo

Weekly Downloads

1

Version

4.0.4

License

ISC

Unpacked Size

3.95 MB

Total Files

25

Last publish

Collaborators

  • anissoft