npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-contrib-throughput-tcp

v1.0.3

Published

A Node-RED node for TCP throughput testing using nping.

Readme

🚀 node-red-contrib-throughput-tcp

Welcome! This Node-RED node lets you easily test TCP network throughput using the powerful nping tool. Whether you're a network engineer, a developer, or just curious about your network's performance, this node makes it simple and visual.


🌟 Features

  • Easy configuration: Set your destination, port, duration, packet size, and more—all from the Node-RED editor.
  • Flexible testing: Choose probe modes, set DSCP for QoS, and optionally specify a source IP.
  • Clear results: Get summary and (optionally) detailed test results right in your flow.

🛠️ Installation

  1. Copy the folder: Place the throughput-tcp folder inside your Node-RED user directory, under ~/.node-red/node_modules/.
    • Or, if published, install via npm: npm install node-red-contrib-throughput-tcp
  2. Restart Node-RED to load the new node.

Note: Make sure nping is installed and available in your system's PATH. You can get it from the Nmap website.


🧑‍💻 How to Use

  1. Add the node: Drag the throughput-tcp node into your Node-RED flow.
  2. Double-click to configure:
    • Name: (Optional) Give your test a friendly label.
    • Destination IP: The IP address you want to test against. (Required)
    • Port: The TCP port to use. (Required)
    • Duration (s): How long to run the test (default: 30 seconds).
    • Packet Size (bytes): Size of each packet (default: 1400).
    • Rate (pps): Packets per second to send (default: 10000).
    • Probe Mode: Choose from SYN, ACK, SACK, or CONNECT.
    • DSCP (0-63): (Optional) Set a DSCP value for QoS.
    • Source IP: (Optional) Use a specific source IP.
    • Show Details: Check this to get detailed output in your results.
  3. Wire it up: Connect the node to your flow as needed.
  4. Deploy and trigger the node. Your results will appear in msg.payload.

📦 Example Output

msg.payload = {
  success: true,
  summary: "Throughput: 100 Mbps, Loss: 0.1%",
  details: { /* ...detailed nping output if enabled... */ }
}

❓ FAQ

Q: Do I need to install anything extra? A: Yes, you need nping installed on your system. Node-RED and this node do not install it for you.

Q: Where do I see the results? A: The results are in msg.payload—connect a debug node to see them in the sidebar.

Q: Can I use this on Windows, Linux, or Mac? A: Yes! As long as Node-RED and nping are installed and available in your PATH.


⚡ Requirements


� Repository & Support

Have a suggestion or found a bug? Please open an issue or submit a pull request!


�📄 License

MIT — Free to use, modify, and share!