Noteworthy Programming Masterpiece
Miss any of our Open RFC calls?Watch the recordings here! »

@signalk/nmea0183-utilities

0.8.0 • Public • Published

NMEA0183-utilities

Build Status

Various utilities for transforming NMEA0183 units into SI units for use in Signal K.

Installation

npm install nmea0183-utilities

Some examples

var utils = require('nmea0183-utilities');
 
// Transform 3 knots into m/s
var ms = utils.transform(3, 'knots', 'ms');
 
// Generate a source object for SignalK from a sentence
var source = utils.source('VDM');
 
// Generate a timestamp from a NMEA0183 time and date field
var source = utils.source('220104', '171089');

Install

npm i @signalk/nmea0183-utilities

DownloadsWeekly Downloads

401

Version

0.8.0

License

Apache-2.0

Unpacked Size

17.5 kB

Total Files

11

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar