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

crowd-depth

v1.0.1

Published

Collect and share depth data.

Readme

Crowd Depth Signal K Plugin

Collect depth and position data from a Signal K server and periodically submit to a trusted node API.

Installation

  • Install the crowd-depth plugin from the Signal K server AppStore.
  • Enable the plugin and open its settings.

Configuration

Configuring the plugin correctly is essential for accurate depth reporting.

  • Path: Choose which depth path to use (belowSurface, belowTransducer, or belowKeel) depending on what is reported in your environment.
  • Depth sounder offsets: Required x, y, z; optional draft, make, model, frequency, transducer.
  • GNSS offsets: Required x, y, z; optional make, model.
  • Sharing: Set anonymous to hide vessel name/ID; data is still tied to a unique UUID.

How it works

  1. Collection - Data is collected in one of two ways:
    1. If you're using a plugin that offers a History API (like signalk-to-influxdb2), this plugin will not store any additional data, but will query the history API for depth/position data when it's time to report. Your historical data will also be reported.
    2. If no History API is available, the plugin will store depth/position data locally in a SQLite database.
  2. Reporting - Data will be reported on a schedule to the API. Each report signs the vessel identity and uploads a GeoJSON file to the trusted node API.
    1. Data is reported every day at midnight in your local timezone, but can be changed by setting a cron-style schedule in BATHY_DEFAULT_SCHEDULE="0 0 * * *" environment variable).
    2. The target endpoint defaults to BATHY_URL (production: https://depth.openwaters.io, otherwise http://localhost:3001). Override via environment variables on the Signal K host.

Contributing

From the root of the monorepo:

  • Build: npm run build -w crowd-depth
  • Tests: npm test -w crowd-depth
  • Install the plugin into a local Signal K server for development:
    cd packages/signalk-plugin
    npm link -w crowd-depth
    cd ~/.signalk
    npm link crowd-depth
  • Watch for changes to the plugin: npm run dev -w crowd-depth
  • Restart the Signal K server whenever the plugin changes.

Notes

  • The plugin corrects depth positions using configured sensor offsets and marks data as unprocessed for tides/vertical datums.
  • Includes a helper CLI xyz-to-geojson (installed with the package) for converting XYZ files to GeoJSON.