Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@signalk/nmea0183-signalk

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@signalk/nmea0183-signalk

NMEA0183 to Signal K parser

  • 0.6.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
465
decreased by-36.48%
Maintainers
4
Weekly downloads
 
Created
Source

signalk-parser-nmea0183

Build Status

A Node.js stream.Transform which converts NMEA 0183 sentences into Signal K sparse messages.

Supported Sentences

The following is the list of sentences the parser supports. Pull requests welcome!

Installation and Use

$ git clone https://github.com/SignalK/signalk-parser-nmea0183.git
$ cd signalk-parser-nmea0183
$ npm install
$ echo '$IIDBT,035.53,f,010.83,M,005.85,F*23' | ./bin/nmea0183-signalk

Should return something like this:

{
  "self": "D344B1D0",
  "version": "1",
  "vessels": {
    "D344B1D0": {
      "uuid": "D344B1D0",
      "environment": {
        "depth": {
          "belowTransducer": {
            "value": 10.83,
            "source": {
              "type": "NMEA0183",
              "sentence": "DBT",
              "label": "signalk/signalk-parser-nmea0183",
              "talker": "II"
            },
            "timestamp": "2016-04-15T17:56:52.000Z"
          }
        }
      }
    }
  }
}

You can also pipe a file into the parser CLI:

$ cat some-nmea-file.log | ./bin/nmea0183-signalk

Use as a Node Module

See https://github.com/SignalK/signalk-server-node/blob/master/providers/nmea0183-signalk.js for an example in a Node application.

Keywords

FAQs

Package last updated on 19 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc