Package Exports
- @signalk/nmea0183-utilities
- @signalk/nmea0183-utilities/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@signalk/nmea0183-utilities) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
NMEA0183-utilities
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')