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

signalkutilities

v1.5.2

Published

utilities for signalK plugins

Readme

Signal K Utilities

This project contains some utilities to be used in the development of signalK plugins. The utilities mainly deal with getting data from the signalK server, processing this data and sending it back to the server for further use.

the MessageHandler class

This is the core class for getting from the signalK server and sending it back. The MessageHandler can deal with exactly one path. It can be used to get a delta value from the server once it comes available and to send a modified or newly generated value back to the server.

the SmoothedMassageHandler class

This class is a decorator to the MessageHandler class. It is used to smoothen an incoming delta using 1 of three available smoothers: ExponentialSmoother, MovingAverageSmoother, KalmanSmoother. The class does support writing smoothed deltas back to SignalK.

the Polar class

The class combines two MessageHandler classes using two paths that together contain a vector value (in polar format). For example Speed over Ground and Course over Ground. In addition to getting data from and sending data to the server the class has also methods to perform calculations with vectors, like adding two vectors, scaling or rotating a vector.

the SmoothedPolar class

This class is a decorator to the Polar class. It is used to smoothen the incoming vector using 1 of three available smoothers: ExponentialSmoother, MovingAverageSmoother, KalmanSmoother. The smoothedPolar class does not support calculations. The class does support writing smoothed vectors back to SignalK.

the PolarTable class

This class is used for managing and interpolating sailing boat polar performance data. It loads polar tables from CSV data in Jieter format containing boat performance across different True Wind Speeds (TWS) and True Wind Angles (TWA). The class provides interpolation capabilities to get smooth performance data for any wind condition, including optimal sailing angles, speeds, and VMG calculations. It supports performance adjustment scaling and handles both port and starboard tack data through automatic symmetry.