Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including nmea-parser with all npm packages installed. Try it out:

var nmeaParser = require("nmea-parser")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

nmea-parser v1.1.0

Parses NMEA sentences.

NMEA Decoder/Parser for Javascript/NodeJS

Example usage: $ node index.js -f nmeaGps.txt

Example NMEA GPS Text File (nmeaGps.txt): $GPGLL,3927.2670,N,10711.1482,W,224125.200,A,A4E $GPGSA,A,3,30,17,28,13,11,19,07,,,,,,1.38,1.07,0.8703 $GPGSV,3,1,10,30,81,019,19,28,59,290,28,07,57,111,28,51,44,180,287E $GPGSV,3,2,10,11,37,102,27,13,31,309,21,19,25,044,29,17,25,203,2773 $GPGSV,3,3,10,04,22,090,,09,11,174,7E $GPRMC,224125.200,A,3927.2670,N,10711.1482,W,0.08,122.75,240415,,,A74 $GPVTG,122.75,T,,M,0.08,N,0.15,K,A*32

Nmea-parser will only parse lines for recommended minimum specific GPS data; lines starting with $GPRMC.

NPM Package: https://www.npmjs.com/package/nmea-parser

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free