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 🙏

© 2025 – Pkg Stats / Ryan Hefner

mavlink3dmap

v1.0.15

Published

MAVLink 3D Map: single-package CLI to serve the web UI, run UDP→WebSocket bridge (8811), and optional Linux-only streaming (8081).

Downloads

1,077

Readme

mavlink3dmap

Single-package CLI that serves the MAVLink 3D Map web UI, runs the UDP→WebSocket bridge, runs the WebSocket↔WebSocket bridge, and (optionally, Linux-only) forwards video frames to a v4l2loopback device using ffmpeg.

It also provides a de command that starts the web UI together with the WebSocket↔WebSocket bridge, suitable for DroneEngage-style setups.

Install

  • npx (no install):
    • npx mavlink3dmap up --port 8080 --udp-port 16450
    • npx mavlink3dmap serve -p 8080
    • npx mavlink3dmap de --port 8080 --port-a 8811 --port-b 8812
  • or global:
    • npm i -g mavlink3dmap

Commands

  • npx mavlink3dmap serve [-p 8080]
    • Serves the built web UI (default port 8080)
  • npx mavlink3dmap udp2ws [--udp-port 16450]
    • Runs the UDP→WebSocket bridge (websocket at 8811)
  • npx mavlink3dmap ws2ws [--port-a 8811] [--port-b 8812]
    • Runs the WebSocket↔WebSocket bridge between two WS ports (defaults 8811 and 8812)
  • npx mavlink3dmap stream
    • Linux only. Starts streaming WS (8081) and pipes frames to v4l2loopback via ffmpeg
    • First time, create the virtual device: sudo bash backend/src/create_virtual_video_linux.sh
  • npx mavlink3dmap up [--port 8080] [--udp-port 16450] [--stream]
    • Starts web UI and UDP bridge together; with --stream also starts streaming on Linux.
  • npx mavlink3dmap de [--port 8080] [--port-a 8811] [--port-b 8812]
    • Starts the web UI and WebSocket↔WebSocket bridge together (no UDP bridge).
    • Internally equivalent to running serve and ws2ws with the same port options.

Aliases (after global install): you can use mav3d ... instead of npx mavlink3dmap ....

Ports

  • Web server: 8080
  • WebSocket bridge (udp2ws): 8811
  • WebSocket bridge (ws2ws / de): 8811 (A) and 8812 (B) by default
  • Streaming WS: 8081 (Linux only)

Environment

  • Node.js 18+
  • For streaming on Linux: ffmpeg and v4l2loopback

License

MIT