Socket
Socket
Sign inDemoInstall

echo-it

Package Overview
Dependencies
11
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    echo-it

Named echo servers for targeting messages


Version published
Weekly downloads
10
increased by900%
Maintainers
1
Install size
4.16 MB
Created
Weekly downloads
 

Readme

Source

echo-it

Build Status Build status Coverage Status

Named echo servers for targeting messages.

Install

npm install --save-dev echo-it

Usage

Start a named echo-it server from the command line

echo-it myChannel

Or in javascript

const echoIt = require('echo-it');
await echoIt.listen({
  name: 'myChannel',
});

Create an echo function to connect to that named server

const echoIt = require('echo-it');
const echo = await echoIt.connect({
  name: 'myChannel',
});

Echo messages to have the server output them to the console

echo('message 1\n');
echo('message 2\n');

Keywords

FAQs

Last updated on 26 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc